capi_handle_connect_indication: did not find device for msn =

merkc

Neuer User
Mitglied seit
6 Jan 2006
Beiträge
135
Punkte für Reaktionen
0
Punkte
16
Hallo Liste,
ich bin ein begeisteter Leser dieses Forums, und versuche wirklich zuerst alle Antworten und Beträge herauszufiltern, bevor ich mich an Euch wende.
Nundenn. Asterisk 1.2.5 läuft. Voipen mit Sip funktioniert auch mehr oder minder... auch wenn ich nicht alles verstehe, was es denn so macht. Nun habe ich mich also an das Abenteuer ISDN / Capi gewendet. Alles, was ich derzeit versuche, ist einen hereinkommenden Anruf auf mein SIP Fon weiterzuleiten. Aber irgendwie funzt das ganze nicht so recht.

capiinfo scheint soweit auch iO zu sein:
***************************************
server:/etc/asterisk # capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-02 (49.18)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem

0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS

server:/etc/asterisk #
***************************************


Hier nun einmal ein Auszug von der Asterisk Konsole:
****************************************
Connected to Asterisk 1.2.5 currently running on server (pid = 31082)
Verbosity was 0 and is now 10
Core debug was 0 and is now 5
server*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
server*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=003 #0x0338 LEN=0048
Controller/PLCI/NCCI = 0x101
CIPValue = 0x1
CalledPartyNumber = <c1>4109879
CallingPartyNumber = <01 81>009177799274
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo = default

-- CONNECT_IND (PLCI=0x101,DID=4109879,CID=009177799274,CIP=0x1,CONTROLLER=0x1)
Mar 18 14:07:55 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
CONNECT_RESP ID=003 #0x0338 LEN=0033
Controller/PLCI/NCCI = 0x101
Reject = 0x1
BProtocol
B1protocol = 0x0
B2protocol = 0x0
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default

> CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x338!
INFO_IND ID=003 #0x0339 LEN=0023
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <c1>4109879

INFO_RESP ID=003 #0x0339 LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x339!
INFO_IND ID=003 #0x033a LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>

INFO_RESP ID=003 #0x033a LEN=0012
Controller/PLCI/NCCI = 0x101
server:/etc/asterisk # vi capi.conf
server:/etc/asterisk # rface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33a!
INFO_IND ID=003 #0x033b LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0xa1
InfoElement = <a1>

INFO_RESP ID=003 #0x033b LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33b!
DISCONNECT_IND ID=003 #0x033f LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0

DISCONNECT_RESP ID=003 #0x033f LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: DISCONNECT_IND no interface for PLCI=0x101
> CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x33f!
****************************************



und nun noch ein Auszug von capi.conf:
****************************************
server:/etc/asterisk # cat capi.conf
;
; 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)
; ;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=capi-in ;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)


[ISDN1]
;[4109879]
ntmode=yes
isdnmode=msn
;incomingmsn=4109879
incomingmsn=*
immediate=yes
controller=1
group=1
softdtmf=on
relaxdtmf=on
context=default
echocancel=yes
language=de
device=2
;defaultcid=3775200

server:/etc/asterisk #
****************************************


und zuletzt noch extensions.conf (nur ein Auszug):
****************************************
[default]
exten => 0414109879,1,Answer
exten => 0414109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 0414109879,3,VoiceMail(u1000)
exten => 0414109879,4,Playback(vm-goodbye)
exten => 0414109879,5,Hangup

exten => 4109879,1,Answer
exten => 4109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 4109879,3,VoiceMail(u1000)
exten => 4109879,4,Playback(vm-goodbye)
exten => 4109879,5,Hangup
****************************************

PS: So, und wenn mir jemand so nebenbei auch noch verrät, wie ich diese lListen etwas netter darstellen könnte (evt. besser per PM), dann sähe das ganze auch etwas besser als Beitrag aus :)


Nochmals hier das Hauptproblem:
Mar 18 14:28:48 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879

thnx
Chris
 
Ich kann eigentlich keine Fehlconfiguration sehen. Welche chan-capi Version verwendest Du denn?
Was sagt denn Asterisk beim Starten (den capi Teil)?

Armin
 
leider kann ich auch nichts falsches sehn... ausser dass es halt nicht klappen will... daher auch meine Verzweiflung...

wann auch immer ich versuche mich selbst anzurufen (natürlich vom Handy aus oder von nem anderen Festnetzapparat), bekomme ich die Fehlermeldung:
Mar 18 14:28:48 WARNING[31090] chan_capi.c: did not find device for msn = 4109879
Mar 18 15:36:05 WARNING[31836] chan_capi.c: did not find device for msn = 4109879
Mar 18 23:08:03 WARNING[12089] chan_capi.c: did not find device for msn = 4109879
Mar 18 23:15:24 WARNING[12587] chan_capi.c: did not find device for msn = 4109879

Capi sieht eigentlich alles iO aus...


Hier der Start, gleich nach einem Neustart mit eingehendem Anruf auf die ISDN Leitung:
Connected to Asterisk 1.2.5 currently running on server (pid = 14349)
Verbosity was 0 and is now 3
Core debug was 0 and is now 4
server*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
server*CLI> capi debug
CAPI Debugging Enabled
-- CONNECT_IND (PLCI=0x101,DID=4109879,CID=009177799274,CIP=0x1,CONTROLLER=0x1)
Mar 19 03:13:45 WARNING[14538]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
> CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0xa2!
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0xa3!
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0xa4!
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0xa5!
> CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0xa9!
-- SIP Seeding peer from astdb: 'Zyxel-P2002-1' at [email protected]:5060 for 3600
-- SIP Seeding peer from astdb: 'Zyxel-P2002-2' at [email protected]:5060 for 3600


.... was heisst den die Zeile oben, Command=...: no interface for PLCI=0x101,...

wenn's das wäre, wärs ja ok... dann könnte ich den Fehler beheben... vorausgesetzt ich weiss, was es heissen soll :)

thnx
chris
:noidea:
 
'no interface...' kommt, wenn weitere CAPI Meldungen kommen, die keinem Device zugeordnet werden koennen. Das ist also nur ein Folgefehler.

Nochmal, wie sehen denn die Start-Meldungen von Asterisk aus?
(Vor allem der chan-capi.so Teil wenn asterisk mit -vvvvv gestartet wird)

Armin
 
ich denke, das was jetzt kommt ist ein kleiner over-kill, aber lieber mehr, als zu wenig Infos. Den grössten SIP Teil habe ich weggecutted, und hoffe, dass nich keine passwörter mehr drinnen habe...


************* asterisk output *************
server*CLI> exit
Executing last minute cleanups
Asterisk cleanly ending (0).
server:/home/merkc # rcasterisk restart
Shutting down Asterisk done
Starting Asterisk done
server:/home/merkc # asterisk -rcvvvvvvvvvddddddddddg
Parsing /etc/asterisk/asterisk.conf
Parsing /etc/asterisk/extconfig.conf
Asterisk 1.2.5, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.5 currently running on server (pid = 8871)
Verbosity was 0 and is now 9
Core debug was 0 and is now 10
server*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
server*CLI> capi debug
CAPI Debugging Enabled
-- SIP Seeding peer from astdb: 'Zyxel-P2002-1' at [email protected]:5060 for 3600
-- SIP Seeding peer from astdb: 'Zyxel-P2002-2' at [email protected]:5060 for 3600
== SIP Listening on 192.168.1.200:5060
== Using TOS bits 24
== Registered channel type 'SIP' (Session Initiation Protocol (SIP))
== Registered application 'SIPDtmfMode'
== Registered application 'SIPAddHeader'
== Registered application 'SIPGetHeader'
== 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
[app_sms.so] => (SMS/PSTN handler)
== Registered application 'SMS'
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder.)
== Registered custom function VMCOUNT
== Registered application 'HasVoicemail'
== Registered application 'HasNewVoicemail'
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_url.so] => (Send URL Applications)
== Registered application 'SendURL'
[app_test.so] => (Interface Test Application)
== Registered application 'TestClient'
== Registered application 'TestServer'
[app_eval.so] => (Reevaluates strings)
== Registered application 'Eval'
[app_chanspy.so] => (Listen to the audio of an active channel
)
== Registered application 'ChanSpy'
[app_sendtext.so] => (Send Text Applications)
== Registered application 'SendText'
[format_ogg_vorbis.so] => (OGG/Vorbis audio)
== Registered file format ogg_vorbis, extension(s) ogg
[app_exec.so] => (Executes applications)
== Registered application 'Exec'
[app_txtcidname.so] => (TXTCIDName)
== Registered application 'TXTCIDName'
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
[app_directory.so] => (Extension Directory)
== Registered application 'Directory'
[app_playback.so] => (Sound File Playback Application)
== Registered application 'Playback'
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
-- 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
[app_groupcount.so] => (Group Management Routines)
== Registered application 'GetGroupCount'
== Registered application 'SetGroup'
== Registered application 'CheckGroup'
== Registered application 'GetGroupMatchCount'
[app_adsiprog.so] => (Asterisk ADSI Programming Application)
== Registered application 'ADSIProg'
[app_chanisavail.so] => (Check channel availability)
== Registered application 'ChanIsAvail'
[app_softhangup.so] => (Hangs up the requested channel)
== Registered application 'SoftHangup'
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
-- codec_lpc10: using generic PLC
== Registered translator 'lpc10tolin' from format lpc10 to slin, cost 3
== Registered translator 'lintolpc10' from format slin to lpc10, cost 5
[app_setcidname.so] => (Set CallerID Name)
== Registered application 'SetCIDName'
[format_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
== 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_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_userevent.so] => (Custom User Event Application)
== Registered application 'UserEvent'
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
-- codec_gsm: using generic PLC
== Registered translator 'gsmtolin' from format gsm to slin, cost 1
== Registered translator 'lintogsm' from format slin to gsm, cost 4
[app_authenticate.so] => (Authentication Application)
== Registered application 'Authenticate'
[format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
== Registered file format alaw, extension(s) alaw|al
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[format_h263.so] => (Raw h263 data)
== Registered file format h263, extension(s) h263
[func_uri.so] => (URI encode/decode functions)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application 'ForkCDR'
[app_page.so] => (Page Multiple Phones)
== Registered application 'Page'
[app_ices.so] => (Encode and Stream via icecast and ices)
== Registered application 'ICES'
[skipping chan_alsa.so]
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application 'NBScat'
[codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
== Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1
== Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1
[app_system.so] => (Generic System() application)
== Registered application 'TrySystem'
== Registered application 'System'
[app_record.so] => (Trivial Record Application)
== Registered application 'Record'
[app_saycountpl.so] => (Say polish counting words)
== Registered application 'SayCountPL'
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application 'Milliwatt'
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application 'ParkAndAnnounce'
[app_sayunixtime.so] => (Say time)
== Registered application 'SayUnixTime'
== Registered application 'DateTime'
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application 'DumpChan'
[app_zapscan.so] => (Scan Zap channels application)
== Registered application 'ZapScan'
[app_macro.so] => (Extension Macros)
== Registered application 'MacroExit'
== Registered application 'MacroIf'
== Registered application 'Macro'
[app_random.so] => (Random goto)
== Registered application 'Random'
[app_settransfercapability.so] => (Set ISDN Transfer Capability)
== Registered application 'SetTransferCapability'
[codec_ulaw.so] => (Mu-law Coder/Decoder)
-- 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
[app_zapras.so] => (Zap RAS Application)
== Registered application 'ZapRAS'
[app_controlplayback.so] => (Control Playback Application)
== Registered application 'ControlPlayback'
[format_au.so] => (Sun Microsystems AU format (signed linear))
== Registered file format au, extension(s) au
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format 'jpg' (JPEG (Joint Picture Experts Group))
[codec_alaw.so] => (A-law Coder/Decoder)
-- 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
-- Message count requested for mailbox 1000@default but voicemail not loaded.
[app_transfer.so] => (Transfer)
== Registered application 'Transfer'
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[app_externalivr.so] => (External IVR Interface Application)
== Registered application 'ExternalIVR'
[app_voicemail.so] => (Comedian Mail (Voicemail System))
== Registered application 'VoiceMail'
== Registered application 'VoiceMailMain'
== Registered application 'MailboxExists'
== Registered application 'VMAuthenticate'
[app_while.so] => (While Loops and Conditional Execution)
== Registered application 'While'
== Registered application 'ExecIf'
== Registered application 'EndWhile'
[app_verbose.so] => (Send verbose output)
== Registered application 'Verbose'
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application 'SetCDRUserField'
== Registered application 'AppendCDRUserField'
== Manager registered action SetCDRUserField
[codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
-- codec_g726: using generic PLC
== Registered translator 'g726tolin' from format g726 to slin, cost 3
== Registered translator 'lintog726' from format slin to g726, cost 3
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
== Registered application 'LookupBlacklist'
[app_zapbarge.so] => (Barge in on Zap channel application)
== Registered application 'ZapBarge'
[app_mixmonitor.so] => (Mixed Audio Monitoring Application)
== Registered application 'MixMonitor'
[app_getcpeid.so] => (Get ADSI CPE ID)
== Registered application 'GetCPEID'
[app_enumlookup.so] => (ENUM Lookup)
== Registered application 'EnumLookup'
[codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
== Registered translator 'ilbctolin' from format ilbc to slin, cost 4
== Registered translator 'lintoilbc' from format slin to ilbc, cost 24
[app_dictate.so] => (Virtual Dictation Machine)
== Registered application 'Dictate'
[app_read.so] => (Read Variable Application)
== Registered application 'Read'
[app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
== Registered application 'AlarmReceiver'
[format_gsm.so] => (Raw GSM data)
== Registered file format gsm, extension(s) gsm
[app_dial.so] => (Dialing Application)
== Registered application 'Dial'
== Registered application 'RetryDial'
[app_disa.so] => (DISA (Direct Inward System Access) Application)
== Registered application 'DISA'
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application 'RealTimeUpdate'
== Registered application 'RealTime'
[app_cdr.so] => (Tell Asterisk to not maintain a CDR for the current call)
== Registered application 'NoCDR'
[app_image.so] => (Image Transmission Application)
== Registered application 'SendImage'
[func_callerid.so] => (Caller ID related dialplan function)
== Registered custom function CALLERID
[func_enum.so] => (ENUM Related Functions)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
[app_cut.so] => (Cut out information from a string)
== Registered custom function CUT
== Registered custom function SORT
== Registered application 'Sort'
== Registered application 'Cut'
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
== Registered file format mp3, extension(s) mp3
[app_setrdnis.so] => (Set RDNIS Number)
== Registered application 'SetRDNIS'
[app_festival.so] => (Simple Festival Interface)
== Registered application 'Festival'
[app_meetme.so] => (MeetMe conference bridge)
== Registered application 'MeetMeAdmin'
== Registered application 'MeetMeCount'
== Registered application 'MeetMe'
[app_echo.so] => (Simple Echo Application)
== Registered application 'Echo'
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
[app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
== Registered application 'PrivacyManager'
[app_flash.so] => (Flash zap trunk application)
== Registered application 'Flash'
[app_setcallerid.so] => (Set CallerID Application)
== Registered application 'SetCallerPres'
== Registered application 'SetCallerID'
[app_stack.so] => (Stack Routines)
== Registered application 'StackPop'
== Registered application 'Return'
== Registered application 'GosubIf'
== Registered application 'Gosub'
[format_sln.so] => (Raw Signed Linear Audio support (SLN))
== Registered file format sln, extension(s) sln|raw
[app_zapateller.so] => (Block Telemarketers with Special Information Tone)
== Registered application 'Zapateller'
[app_queue.so] => (True Call Queueing)
== Registered application 'Queue'
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered application 'AddQueueMember'
== Registered application 'RemoveQueueMember'
== Registered application 'PauseQueueMember'
== Registered application 'UnpauseQueueMember'
== Registered custom function QUEUEAGENTCOUNT
[app_md5.so] => (MD5 checksum applications)
== Registered application 'MD5Check'
== Registered application 'MD5'
[app_mp3.so] => (Silly MP3 Application)
== Registered application 'MP3Player'
[app_lookupcidname.so] => (Look up CallerID Name from local database)
== Registered application 'LookupCIDName'
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[app_senddtmf.so] => (Send DTMF digits Application)
== Registered application 'SendDTMF'
[format_vox.so] => (Dialogic VOX (ADPCM) File Format)
== Registered file format vox, extension(s) vox
[app_directed_pickup.so] => (Directed Call Pickup Application)
== Registered application 'Pickup'
[app_waitforring.so] => (Waits until first ring after time)
== Registered application 'WaitForRing'
[app_readfile.so] => (Stores output of file into a variable)
== Registered application 'ReadFile'
[app_setcidnum.so] => (Set CallerID Number)
== Registered application 'SetCIDNum'
[app_talkdetect.so] => (Playback with Talk Detection)
== Registered application 'BackgroundDetect'
[app_math.so] => (Basic Math Functions)
== Registered application 'Math'
[app_db.so] => (Database Access Functions)
== Registered application 'DBget'
== Registered application 'DBput'
== Registered application 'DBdel'
== Registered application 'DBdeltree'
[app_waitforsilence.so] => (Wait For Silence)
== Registered application 'WaitForSilence'
== Manager registered action DBGet
== Manager registered action DBPut
Asterisk Ready.

CONNECT_IND ID=003 #0x001b LEN=0048
Controller/PLCI/NCCI = 0x101
CIPValue = 0x1
CalledPartyNumber = <c1>4109879
CallingPartyNumber = <01 81>009177799274
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo = default

-- CONNECT_IND (PLCI=0x101,DID=4109879,CID=009177799274,CIP=0x1,CONTROLLER=0x1)
Mar 19 15:09:50 WARNING[8880]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
CONNECT_RESP ID=003 #0x001b LEN=0033
Controller/PLCI/NCCI = 0x101
Reject = 0x1
BProtocol
B1protocol = 0x0
B2protocol = 0x0
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default

> CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x1b!
INFO_IND ID=003 #0x001c LEN=0023
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <c1>4109879

INFO_RESP ID=003 #0x001c LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x1c!
INFO_IND ID=003 #0x001d LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>

INFO_RESP ID=003 #0x001d LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x1d!
INFO_IND ID=003 #0x001e LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0xa1
InfoElement = <a1>

INFO_RESP ID=003 #0x001e LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x1e!
DISCONNECT_IND ID=003 #0x0022 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0

DISCONNECT_RESP ID=003 #0x0022 LEN=0012
Controller/PLCI/NCCI = 0x101

CAPI: DISCONNECT_IND no interface for PLCI=0x101
> CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x22!
server*CLI> exit
Executing last minute cleanups
Asterisk cleanly ending (0).
server:/home/merkc # capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-02 (49.18)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem

0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS

server:/home/merkc #
***************end asterisk output*************************


************ capiinfo output ***************
server*CLI> exit
Executing last minute cleanups
Asterisk cleanly ending (0).
server:/home/merkc # capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-02 (49.18)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
internal controller supported
DTMF supported
Supplementary Services supported
channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
64 kbit/s with HDLC framing
64 kbit/s bit-transparent operation
V.110 asynconous operation with start/stop byte framing
V.110 synconous operation with HDLC framing
T.30 modem for fax group 3
Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
ISO 7776 (X.75 SLP)
Transparent
LAPD with Q.921 for D channel X.25 (SAPI 16)
T.30 for fax group 3
ISO 7776 (X.75 SLP) with V.42bis compression
V.120 asyncronous mode
V.120 bit-transparent mode
B3 protocols support: 0x800000bf
Transparent
T.90NL, T.70NL, T.90
ISO 8208 (X.25 DTE-DTE)
X.25 DCE
T.30 for fax group 3
T.30 for fax group 3 with extensions
Modem

0100
0200
39000000
1f010040
1b0b0000
bf000080
00000000 00000000 00000000 00000000 00000000 00000000
01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
Hold / Retrieve
Terminal Portability
ECT
3PTY
Call Forwarding
Call Deflection
MCID
CCBS

server:/home/merkc #

**************end capiinfo output ****************


***************** /etc/sysconfig/isdn/ *************
server:/home/merkc # cd /etc/sysconfig/isdn/
server:/etc/sysconfig/isdn # dir
insgesamt 8
drwxr-xr-x 4 root root 128 2006-03-19 14:56 .
drwxr-xr-x 8 root root 2056 2006-03-18 17:59 ..
-rw-r--r-- 1 root root 191 2005-11-16 16:39 cfg-contr0
drwxr-xr-x 2 root root 1512 2005-11-08 05:02 scripts
drwxr-xr-x 2 root root 88 2006-03-19 14:56 weg
server:/etc/sysconfig/isdn # cat cfg-contr0
AREACODE="+41 41"
DIALPREFIX=""
DRIVER="fcpci"
ISDNLOG_START="yes"
NAME="AVM FRITZ!Card PCI v2.0"
PARA_SUBTYPE="2"
PARA_TYPE="8002"
PROTOCOL="euro"
STARTMODE="auto"
UNIQUE="HJNj.lR9loEqERSD"
server:/etc/sysconfig/isdn #
****************end /etc/sysconfig/isdn **************

************ /etc/isdn output ************
server:/etc/sysconfig/isdn # cd /etc/isdn/
server:/etc/isdn # dir
insgesamt 150
drwxr-xr-x 2 root root 1160 2006-03-19 14:56 .
drwxr-xr-x 105 root root 9312 2006-03-19 15:00 ..
-rw-r----- 1 root root 1147 2005-11-10 21:43 callerid.conf
-rw-r--r-- 1 root root 0 2006-03-19 14:56 charge.dat
-rw-r--r-- 1 root root 0 2006-03-19 14:49 charge.dat.old
-rw-r--r-- 1 root root 1622 2005-04-08 17:05 eft.conf
lrwxrwxrwx 1 root root 11 2005-11-08 05:02 eftusers -> ../ftpusers
-rw-r--r-- 1 root root 2303 2006-03-10 06:52 isdn.conf
-rw-r--r-- 1 root root 2200 2005-03-22 19:09 isdn.conf.at
-rw-r--r-- 1 root root 2187 2005-03-22 19:09 isdn.conf.at.in
-rw-r--r-- 1 root root 2329 2005-11-15 23:04 isdn.conf.ch
-rw-r--r-- 1 root root 10288 2005-03-22 19:09 isdn.conf.de
-rw-r--r-- 1 root root 10275 2005-03-22 19:09 isdn.conf.de.in
-rw-r--r-- 1 root root 2316 2005-03-22 19:09 isdn.conf.in
-rw-r--r-- 1 root root 2212 2005-03-22 19:09 isdn.conf.lu
-rw-r--r-- 1 root root 2199 2005-03-22 19:09 isdn.conf.lu.in
-rw-r--r-- 1 root root 2607 2005-03-22 19:09 isdn.conf.nl
-rw-r--r-- 1 root root 2594 2005-03-22 19:09 isdn.conf.nl.in
-rw-r--r-- 1 root root 2372 2005-03-22 19:09 isdn.conf.no
-rw-r--r-- 1 root root 2358 2005-03-22 19:09 isdn.conf.no.in
-rw-r--r-- 1 root root 2205 2005-03-22 19:09 isdn.conf.pl
-rw-r--r-- 1 root root 2192 2005-03-22 19:09 isdn.conf.pl.in
-rw-r--r-- 1 root root 2303 2006-03-10 06:52 isdn.conf.SuSEconfig.old
-rw-r--r-- 1 root root 2329 2005-03-22 19:09 isdn.conf.unknown
-rw-r--r-- 1 root root 3676 2006-03-10 06:52 isdnlog.options.contr0
-rw-r--r-- 1 root root 3676 2006-03-10 06:52 isdnlog.options.contr0-working
-rw-r----- 1 root root 3650 2003-09-16 01:30 isdnlog.options.templ
-rw-r--r-- 1 root root 418 2005-03-22 19:08 isdnlog.users
-rw-r--r-- 1 root root 3634 2005-03-22 19:08 rate.conf
-rw-r--r-- 1 root root 806 1999-12-31 14:57 rate.conf.at
-rw-r--r-- 1 root root 3634 2005-03-01 08:57 rate.conf.de
-rw-r--r-- 1 root root 12 2000-02-12 17:40 rate.conf.lu
-rw-r--r-- 1 root root 773 2001-06-21 18:34 rate.conf.nl
-rw-r--r-- 1 root root 130 2000-03-06 08:03 rate.conf.no
-rw-r--r-- 1 root root 5 2000-02-28 20:53 rate.conf.pl
-rwxr-xr-x 1 root root 1269 2003-01-20 02:26 stop
server:/etc/isdn # cat isdn.conf
#SuSEconfig.isdn modified ch
# example of /etc/isdn/isdn.conf
#
# More information: /*

[GLOBAL]
COUNTRYPREFIX = +
COUNTRYCODE = 41
AREAPREFIX = 0
AREACODE = 41

[VARIABLES]

[ISDNLOG]
LOGFILE = /var/log/isdn/isdn.log
ILABEL = %b %e %T %ICall to tei %t from %N2 on %n2
OLABEL = %b %e %T %Itei %t calling %N2 with '%n0'
REPFMTWWW = "%X %D %17.17H %T %-17.17F %-20.20l SI: %S %9u %U %I %O"
REPFMTSHORT = "%X%D %8.8H %T %-14.14F%U%I %O"
REPFMTNIO = " %X %D %16.16H %T %-25.25F %U"
REPFMT = " %X %D %16.16H %T %-16.16F %7u %U %I %O"

###########################################################################
#
# You can set a daily limit for phone cost for the ISDN interface here.
# Please note following points and also read the isdnlog documentation:
#
# 1. This function may fail for many reasons, here is no guarantee that
# this protect you against high cost.
# Please be very carefully if you enable dial on demand !!!
#
# 2. Neither SuSE Linux AG nor the authors of the software are responsible
# for any damage or costs you have if you use or not use this feature.
#
# 3. If the charges are going above the limit /etc/isdn/stop is called
# and depending on the amount following actions are done:
# - 0..1 Euro above limit : short warning with 2 beeps
# - 2 Euro above limit : longer warning with 3 beeps
# - 3..4 Euro above limit : warning with 5 beeps shutdown isdn
# network interfaces
# - >= 5 Euro above limit : reboot PC
#
# If you like other actions or values please modify /etc/isdn/stop
#
# 4. The number of your provider need an entry in /etc/isdn/callerid.conf,
# without CHARGEMAX has no effect.
#
# 5. Since it can cause unwanted network shutdowns or reboots, CHARGEMAX
# is disabled by default
#
###########################################################################
# CHARGEMAX = 50.00
CURRENCY = 0.120,CHF

COUNTRYFILE = /usr/lib/isdn/country.dat
RATECONF= /etc/isdn/rate.conf
# replace the xx in the next 3 lines with your country's letters!
RATEFILE= /usr/lib/isdn/rate-ch.dat
HOLIDAYS= /usr/lib/isdn/holiday-ch.dat
ZONEFILE= /usr/lib/isdn/zone-ch-%s.cdb
DESTFILE= /usr/lib/isdn/dest.cdb

# providerselect
VBN = 10 # change this, depends on your country
VBNLEN = 2
PRESELECTED=1
server:/etc/isdn #
*********** end /etc/isdn output *********

*********** extra infos ***********
server:/etc/init.d # rchylafax status
Checking for service HylaFAX: HylaFAX queue manager process: unused
HylaFAX client-server protocol server: unused
server:/etc/init.d # rccapisuite status
Checking for service CapiSuite running
server:/etc/init.d # dir /usr/lib/asterisk/modules/chan_capi.so
-rwxr-xr-x 1 root root 239218 2006-03-18 12:30 /usr/lib/asterisk/modules/chan_capi.so
server:/etc/init.d # dir /usr/src/asterisk/asterisk-destination-dir/chan_capi-cm-0.6.4/chan_capi.so
-rwxr-xr-x 1 root root 239218 2006-03-18 12:30 /usr/src/asterisk/asterisk-destination-dir/chan_capi-cm-0.6.4/chan_capi.so

*****************************


... langsam faellt mir auch nicht mehr ein, wo man noch nachsehen koennte ...

aber irgendwo MUSS doch der sch... Fehler stecken ...

thnx
Chris
 
Das hilft leider nicht, denn beim Start von Asterisk fehlt etwas. Starte Asterisk mal direkt von der Console und nicht per remote mit -r.

Armin
 
achtung, jetzt kommt ein riessen teil!!! was "neues" sehe ich zwar nicht, aber vielleicht kannst du ja was damit anfangen....

************** start asterisk printout ************
server:/etc/asterisk # rcasterisk stop
Shutting down Asterisk done
server:/etc/asterisk # asterisk -cvvvvvvvvvvddddddddddg
Parsing /etc/asterisk/asterisk.conf
Parsing /etc/asterisk/extconfig.conf
Asterisk 1.2.5, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Asterisk Event Logger Started /var/log/asterisk/event_log
Asterisk Dynamic Loader loading preload modules:
== 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 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
Mar 19 15:45:40 NOTICE[11203]: cdr.c:1187 do_reload: CDR simple logging enabled.
== RTP Allocating from port range 2000 -> 51000
Asterisk PBX Core Initializing
Registering builtin applications:
[AbsoluteTimeout]
== Registered application 'AbsoluteTimeout'
[Answer]
== Registered application 'Answer'
[BackGround]
== Registered application 'BackGround'
[Busy]
== Registered application 'Busy'
[Congestion]
== Registered application 'Congestion'
[DigitTimeout]
== Registered application 'DigitTimeout'
[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'
[ResponseTimeout]
== Registered application 'ResponseTimeout'
[Ringing]
== Registered application 'Ringing'
[SayNumber]
== Registered application 'SayNumber'
[SayDigits]
== Registered application 'SayDigits'
[SayAlpha]
== Registered application 'SayAlpha'
[SayPhonetic]
== Registered application 'SayPhonetic'
[SetAccount]
== Registered application 'SetAccount'
[SetAMAFlags]
== Registered application 'SetAMAFlags'
[SetGlobalVar]
== Registered application 'SetGlobalVar'
[SetLanguage]
== Registered application 'SetLanguage'
[Set]
== Registered application 'Set'
[SetVar]
== Registered application 'SetVar'
[ImportVar]
== Registered application 'ImportVar'
[Wait]
== Registered application 'Wait'
[WaitExten]
== Registered application 'WaitExten'
Asterisk Dynamic Loader Starting:
[res_musiconhold.so] => (Music On Hold Resource)
== Registered application 'MusicOnHold'
== Registered application 'WaitMusicOnHold'
== Registered application 'SetMusicOnHold'
== Registered application 'StartMusicOnHold'
== Registered application 'StopMusicOnHold'
[res_features.so] => (Call Features Resource)
== Registered application 'ParkedCall'
== Registered application 'Park'
== Manager registered action ParkedCalls
[chan_capi.so] => (Common ISDN API for Asterisk)
== This box has 1 capi controller(s).
-- CAPI/contr1 supports DTMF
-- CAPI/contr1 supports supplementary services
> FACILITY_CONF INFO = 0
> supplementary services : 0x000003ff
> HOLD/RETRIEVE
> TERMINAL PORTABILITY
> ECT
> 3PTY
> CF
> CD
> MCID
> CCBS
> MWI
> CCNR
== Reading config for 4109879
-- capi_pvt 4109879-pseudo-D (*,default,0,0) (1,4,64)
-- listening on contr1 CIPmask = 0x1fff03ff
== Registered channel type 'CAPI' (Common ISDN API Driver (cm-0.6.4) )
== Registered application 'capiCommand'
== Registered custom function VANITYNUMBER
[res_indications.so] => (Indications Configuration)
-- Registered indication country 'at'
-- Registered indication country 'au'
-- 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 'it'
-- Registered indication country 'lt'
-- Registered indication country 'mx'
-- Registered indication country 'nl'
-- Registered indication country 'no'
-- Registered indication country 'nz'
-- Registered indication country 'pl'
-- Registered indication country 'pt'
-- Registered indication country 'ru'
-- Registered indication country 'se'
-- Registered indication country 'sg'
-- Registered indication country 'uk'
-- Registered indication country 'us'
-- Registered indication country 'us-o'
-- Registered indication country 'tw'
-- Registered indication country 'za'
-- Setting default indication country to 'us'
== Registered application 'PlayTones'
== Registered application 'StopPlayTones'
[res_agi.so] => (Asterisk Gateway Interface (AGI))
== Registered application 'DeadAGI'
== Registered application 'EAGI'
== Registered application 'AGI'
[res_crypto.so] => (Cryptographic Digital Signatures)
-- Loaded PUBLIC key 'iaxtel'
-- Loaded PUBLIC key 'freeworlddialup'
[res_adsi.so] => (ADSI Resource)
[res_monitor.so] => (Call Monitoring Resource)
== Registered application 'Monitor'
== Registered application 'StopMonitor'
== Registered application 'ChangeMonitor'
== Manager registered action Monitor
== Manager registered action StopMonitor
== Manager registered action ChangeMonitor
[pbx_dundi.so] => (Distributed Universal Number Discovery (DUNDi))
== Using TOS bits 0
== DUNDi Ready and Listening on 0.0.0.0 port 4520
== Registered application 'DUNDiLookup'
== Registered custom function DUNDILOOKUP
[pbx_functions.so] => (Builtin dialplan functions)
== Registered custom function MD5
== Registered custom function CHECK_MD5
== Registered custom function MATH
== Registered custom function GROUP_COUNT
== Registered custom function GROUP_MATCH_COUNT
== Registered custom function GROUP
== Registered custom function GROUP_LIST
== Registered custom function FIELDQTY
== Registered custom function REGEX
== Registered custom function LEN
== Registered custom function STRFTIME
== Registered custom function EVAL
== Registered custom function CDR
== Registered custom function ISNULL
== Registered custom function SET
== Registered custom function EXISTS
== Registered custom function IF
== Registered custom function IFTIME
== Registered custom function ENV
== Registered custom function DB
== Registered custom function DB_EXISTS
== Registered custom function TIMEOUT
== Registered custom function LANGUAGE
== Registered custom function MUSICCLASS
[pbx_ael.so] => (Asterisk Extension Language Compiler)
[pbx_spool.so] => (Outgoing Spool Support)
[pbx_loopback.so] => (Loopback Switch)
[pbx_config.so] => (Text Extension Configuration)
Warning, flexibel rate not heavily tested!
[pbx_realtime.so] => (Realtime Switch)
[chan_mgcp.so] => (Media Gateway Control Protocol (MGCP))
== MGCP Listening on 0.0.0.0:2727
== Using TOS bits 0
== Registered channel type 'MGCP' (Media Gateway Control Protocol (MGCP))
[chan_zap.so] => (Zapata Telephony w/PRI)
-- Registered channel 1, FXS Kewlstart signalling
-- Automatically generated pseudo channel
== Registered channel type 'Zap' (Zapata Telephony Driver w/PRI)
== Manager registered action ZapTransfer
== Manager registered action ZapHangup
== Manager registered action ZapDialOffhook
== Manager registered action ZapDNDon
== Manager registered action ZapDNDoff
== Manager registered action ZapShowChannels
[chan_local.so] => (Local Proxy Channel)
== Registered channel type 'Local' (Local Proxy Channel Driver)
[skipping chan_alsa.so]
[chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
== Registered custom function IAXPEER
== Registered application 'IAX2Provision'
== Manager registered action IAXpeers
== Manager registered action IAXnetstats
-- doing lookup for '216.207.245.47'
== Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
== Using TOS bits 16
== Binding IAX2 to default address 0.0.0.0:4569
== IAX Ready and Listening
== Loaded firmware 'iaxy.bin'
-- Loaded provisioning template 'default'
[chan_agent.so] => (Agent Proxy Channel)
== Registered channel type 'Agent' (Call Agent Proxy Channel)
== Registered application 'AgentLogin'
== Registered application 'AgentCallbackLogin'
== Registered application 'AgentMonitorOutgoing'
== Manager registered action Agents
== Manager registered action AgentLogoff
== Manager registered action AgentCallbackLogin
[chan_phone.so] => (Linux Telephony API Support)
== Registered channel type 'Phone' (Standard Linux Telephony API Driver)
[chan_skinny.so] => (Skinny Client Control Protocol (Skinny))
== Skinny listening on 0.0.0.0:2000
== Registered channel type 'Skinny' (Skinny Client Control Protocol (Skinny))
[chan_features.so] => (Feature Proxy Channel)
== Registered channel type 'Feature' (Feature Proxy Channel Driver)
[chan_oss.so] => (OSS Console Channel Driver)
== Registered channel type 'Console' (OSS Console Channel Driver)
[chan_sip.so] => (Session Initiation Protocol (SIP))
-- parse_srv: SRV mapped to host sipgate.de, port 5060
-- parse_srv: SRV mapped to host sipgate.de, port 5060
-- parse_srv: SRV mapped to host sipgate.at, port 5060
-- parse_srv: SRV mapped to host sip-ha.web.de, port 5060
-- SIP Seeding peer from astdb: 'Zyxel-P2002-1' at [email protected]:5060 for 3600
-- SIP Seeding peer from astdb: 'Zyxel-P2002-2' at [email protected]:5060 for 3600
== SIP Listening on 192.168.1.200:5060
== Using TOS bits 24
== Registered channel type 'SIP' (Session Initiation Protocol (SIP))
== Registered application 'SIPDtmfMode'
== Registered application 'SIPAddHeader'
== Registered application 'SIPGetHeader'
== 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
[app_sms.so] => (SMS/PSTN handler)
== Registered application 'SMS'
[cdr_custom.so] => (Customizable Comma Separated Values CDR Backend)
[app_hasnewvoicemail.so] => (Indicator for whether a voice mailbox has messages in a given folder. == Register
MCOUNT
== Registered application 'HasVoicemail'
== Registered application 'HasNewVoicemail'
[format_wav_gsm.so] => (Microsoft WAV format (Proprietary GSM))
== Registered file format wav49, extension(s) WAV|wav49
[app_url.so] => (Send URL Applications)
== Registered application 'SendURL'
[app_test.so] => (Interface Test Application)
== Registered application 'TestClient'
== Registered application 'TestServer'
[app_eval.so] => (Reevaluates strings)
== Registered application 'Eval'
[app_chanspy.so] => (Listen to the audio of an active channel
)
== Registered application 'ChanSpy'
[app_sendtext.so] => (Send Text Applications)
== Registered application 'SendText'
[format_ogg_vorbis.so] => (OGG/Vorbis audio)
== Registered file format ogg_vorbis, extension(s) ogg
[app_exec.so] => (Executes applications)
== Registered application 'Exec'
[app_txtcidname.so] => (TXTCIDName)
== Registered application 'TXTCIDName'
[cdr_manager.so] => (Asterisk Call Manager CDR Backend)
[app_directory.so] => (Extension Directory)
== Registered application 'Directory'
[app_playback.so] => (Sound File Playback Application)
== Registered application 'Playback'
[codec_adpcm.so] => (Adaptive Differential PCM Coder/Decoder)
-- 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
[app_groupcount.so] => (Group Management Routines)
== Registered application 'GetGroupCount'
== Registered application 'SetGroup'
== Registered application 'CheckGroup'
== Registered application 'GetGroupMatchCount'
[app_adsiprog.so] => (Asterisk ADSI Programming Application)
== Registered application 'ADSIProg'
[app_chanisavail.so] => (Check channel availability)
== Registered application 'ChanIsAvail'
[app_softhangup.so] => (Hangs up the requested channel)
== Registered application 'SoftHangup'
[codec_lpc10.so] => (LPC10 2.4kbps (signed linear) Voice Coder)
-- codec_lpc10: using generic PLC
== Registered translator 'lpc10tolin' from format lpc10 to slin, cost 4
-- Message count requested for mailbox 1000@default but voicemail not loaded.
Mar 19 15:46:07 WARNING[11232]: chan_sip.c:1066 __sip_xmit: sip_xmit of 0x81bb1e0 (len 570) to 213.9.123.34:0 re
rgument
== Registered translator 'lintolpc10' from format slin to lpc10, cost 6
[app_setcidname.so] => (Set CallerID Name)
== Registered application 'SetCIDName'
[format_g723.so] => (G.723.1 Simple Timestamp File Format)
== Registered file format g723sf, extension(s) g723|g723sf
[format_g726.so] => (Raw G.726 (16/24/32/40kbps) data)
== 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_g729.so] => (Raw G729 data)
== Registered file format g729, extension(s) g729
[app_userevent.so] => (Custom User Event Application)
== Registered application 'UserEvent'
[codec_gsm.so] => (GSM/PCM16 (signed linear) Codec Translator)
-- codec_gsm: using generic PLC
== Registered translator 'gsmtolin' from format gsm to slin, cost 1
Mar 19 15:46:07 WARNING[11232]: chan_sip.c:1066 __sip_xmit: sip_xmit of 0x818f060 (len 570) to 213.9.123.34:0 re
rgument
== Registered translator 'lintogsm' from format slin to gsm, cost 5
[app_authenticate.so] => (Authentication Application)
== Registered application 'Authenticate'
[format_pcm_alaw.so] => (Raw aLaw 8khz PCM Audio support)
== Registered file format alaw, extension(s) alaw|al
[format_ilbc.so] => (Raw iLBC data)
== Registered file format iLBC, extension(s) ilbc
[format_h263.so] => (Raw h263 data)
== Registered file format h263, extension(s) h263
[func_uri.so] => (URI encode/decode functions)
== Registered custom function URIDECODE
== Registered custom function URIENCODE
[app_forkcdr.so] => (Fork The CDR into 2 separate entities.)
== Registered application 'ForkCDR'
[app_page.so] => (Page Multiple Phones)
== Registered application 'Page'
[app_ices.so] => (Encode and Stream via icecast and ices)
== Registered application 'ICES'
[skipping chan_alsa.so]
[app_nbscat.so] => (Silly NBS Stream Application)
== Registered application 'NBScat'
[codec_a_mu.so] => (A-law and Mulaw direct Coder/Decoder)
== Registered translator 'alawtoulaw' from format alaw to ulaw, cost 1
== Registered translator 'ulawtoalaw' from format ulaw to alaw, cost 1
[app_system.so] => (Generic System() application)
== Registered application 'TrySystem'
== Registered application 'System'
[app_record.so] => (Trivial Record Application)
== Registered application 'Record'
[app_saycountpl.so] => (Say polish counting words)
== Registered application 'SayCountPL'
[app_milliwatt.so] => (Digital Milliwatt (mu-law) Test Application)
== Registered application 'Milliwatt'
[app_parkandannounce.so] => (Call Parking and Announce Application)
== Registered application 'ParkAndAnnounce'
[app_sayunixtime.so] => (Say time)
== Registered application 'SayUnixTime'
== Registered application 'DateTime'
[app_dumpchan.so] => (Dump Info About The Calling Channel)
== Registered application 'DumpChan'
[app_zapscan.so] => (Scan Zap channels application)
== Registered application 'ZapScan'
[app_macro.so] => (Extension Macros)
== Registered application 'MacroExit'
== Registered application 'MacroIf'
== Registered application 'Macro'
[app_random.so] => (Random goto)
== Registered application 'Random'
[app_settransfercapability.so] => (Set ISDN Transfer Capability)
== Registered application 'SetTransferCapability'
[codec_ulaw.so] => (Mu-law Coder/Decoder)
-- 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
[app_zapras.so] => (Zap RAS Application)
== Registered application 'ZapRAS'
[app_controlplayback.so] => (Control Playback Application)
== Registered application 'ControlPlayback'
[format_au.so] => (Sun Microsystems AU format (signed linear))
== Registered file format au, extension(s) au
[format_jpeg.so] => (JPEG (Joint Picture Experts Group) Image Format)
== Registered format 'jpg' (JPEG (Joint Picture Experts Group))
[codec_alaw.so] => (A-law Coder/Decoder)
-- 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
[app_transfer.so] => (Transfer)
== Registered application 'Transfer'
[cdr_csv.so] => (Comma Separated Values CDR Backend)
[app_externalivr.so] => (External IVR Interface Application)
== Registered application 'ExternalIVR'
[app_voicemail.so] => (Comedian Mail (Voicemail System))
== Registered application 'VoiceMail'
== Registered application 'VoiceMailMain'
== Registered application 'MailboxExists'
== Registered application 'VMAuthenticate'
[app_while.so] => (While Loops and Conditional Execution)
== Registered application 'While'
== Registered application 'ExecIf'
== Registered application 'EndWhile'
[app_verbose.so] => (Send verbose output)
== Registered application 'Verbose'
[app_setcdruserfield.so] => (CDR user field apps)
== Registered application 'SetCDRUserField'
== Registered application 'AppendCDRUserField'
== Manager registered action SetCDRUserField
[codec_g726.so] => (ITU G.726-32kbps G726 Transcoder)
-- codec_g726: using generic PLC
== Registered translator 'g726tolin' from format g726 to slin, cost 3
== Registered translator 'lintog726' from format slin to g726, cost 4
[app_lookupblacklist.so] => (Look up Caller*ID name/number from blacklist database)
== Registered application 'LookupBlacklist'
[app_zapbarge.so] => (Barge in on Zap channel application)
== Registered application 'ZapBarge'
[app_mixmonitor.so] => (Mixed Audio Monitoring Application)
== Registered application 'MixMonitor'
[app_getcpeid.so] => (Get ADSI CPE ID)
== Registered application 'GetCPEID'
[app_enumlookup.so] => (ENUM Lookup)
== Registered application 'EnumLookup'
[codec_ilbc.so] => (iLBC/PCM16 (signed linear) Codec Translator)
== Registered translator 'ilbctolin' from format ilbc to slin, cost 4
== Registered translator 'lintoilbc' from format slin to ilbc, cost 29
[app_dictate.so] => (Virtual Dictation Machine)
== Registered application 'Dictate'
[app_read.so] => (Read Variable Application)
== Registered application 'Read'
[app_alarmreceiver.so] => (Alarm Receiver for Asterisk)
== Registered application 'AlarmReceiver'
[format_gsm.so] => (Raw GSM data)
== Registered file format gsm, extension(s) gsm
[app_dial.so] => (Dialing Application)
== Registered application 'Dial'
== Registered application 'RetryDial'
[app_disa.so] => (DISA (Direct Inward System Access) Application)
== Registered application 'DISA'
[app_realtime.so] => (Realtime Data Lookup/Rewrite)
== Registered application 'RealTimeUpdate'
== Registered application 'RealTime'
[app_cdr.so] => (Tell Asterisk to not maintain a CDR for the current call)
== Registered application 'NoCDR'
[app_image.so] => (Image Transmission Application)
== Registered application 'SendImage'
[func_callerid.so] => (Caller ID related dialplan function)
== Registered custom function CALLERID
[func_enum.so] => (ENUM Related Functions)
== Registered custom function ENUMLOOKUP
== Registered custom function TXTCIDNAME
[app_cut.so] => (Cut out information from a string)
== Registered custom function CUT
== Registered custom function SORT
== Registered application 'Sort'
== Registered application 'Cut'
[format_mp3.so] => (MP3 format [Any rate but 8000hz mono optimal])
== Registered file format mp3, extension(s) mp3
[app_setrdnis.so] => (Set RDNIS Number)
== Registered application 'SetRDNIS'
[app_festival.so] => (Simple Festival Interface)
== Registered application 'Festival'
[app_meetme.so] => (MeetMe conference bridge)
== Registered application 'MeetMeAdmin'
== Registered application 'MeetMeCount'
== Registered application 'MeetMe'
[app_echo.so] => (Simple Echo Application)
== Registered application 'Echo'
[format_pcm.so] => (Raw uLaw 8khz Audio support (PCM))
== Registered file format pcm, extension(s) pcm|ulaw|ul|mu
[app_privacy.so] => (Require phone number to be entered, if no CallerID sent)
== Registered application 'PrivacyManager'
[app_flash.so] => (Flash zap trunk application)
== Registered application 'Flash'
[app_setcallerid.so] => (Set CallerID Application)
== Registered application 'SetCallerPres'
== Registered application 'SetCallerID'
[app_stack.so] => (Stack Routines)
== Registered application 'StackPop'
== Registered application 'Return'
== Registered application 'GosubIf'
== Registered application 'Gosub'
[format_sln.so] => (Raw Signed Linear Audio support (SLN))
== Registered file format sln, extension(s) sln|raw
[app_zapateller.so] => (Block Telemarketers with Special Information Tone)
== Registered application 'Zapateller'
[app_queue.so] => (True Call Queueing)
== Registered application 'Queue'
== Manager registered action Queues
== Manager registered action QueueStatus
== Manager registered action QueueAdd
== Manager registered action QueueRemove
== Manager registered action QueuePause
== Registered application 'AddQueueMember'
== Registered application 'RemoveQueueMember'
== Registered application 'PauseQueueMember'
== Registered application 'UnpauseQueueMember'
== Registered custom function QUEUEAGENTCOUNT
[app_md5.so] => (MD5 checksum applications)
== Registered application 'MD5Check'
== Registered application 'MD5'
[app_mp3.so] => (Silly MP3 Application)
== Registered application 'MP3Player'
[app_lookupcidname.so] => (Look up CallerID Name from local database)
== Registered application 'LookupCIDName'
[format_wav.so] => (Microsoft WAV format (8000hz Signed Linear))
== Registered file format wav, extension(s) wav
[app_senddtmf.so] => (Send DTMF digits Application)
== Registered application 'SendDTMF'
[format_vox.so] => (Dialogic VOX (ADPCM) File Format)
== Registered file format vox, extension(s) vox
[app_directed_pickup.so] => (Directed Call Pickup Application)
== Registered application 'Pickup'
[app_waitforring.so] => (Waits until first ring after time)
== Registered application 'WaitForRing'
[app_readfile.so] => (Stores output of file into a variable)
== Registered application 'ReadFile'
[app_setcidnum.so] => (Set CallerID Number)
== Registered application 'SetCIDNum'
[app_talkdetect.so] => (Playback with Talk Detection)
== Registered application 'BackgroundDetect'
[app_math.so] => (Basic Math Functions)
== Registered application 'Math'
[app_db.so] => (Database Access Functions)
== Registered application 'DBget'
== Registered application 'DBput'
== Registered application 'DBdel'
== Registered application 'DBdeltree'
[app_waitforsilence.so] => (Wait For Silence)
== Registered application 'WaitForSilence'
== Manager registered action DBGet
== Manager registered action DBPut
Asterisk Ready.
************** stop asterisk printout ************

************** start cat /etc/capi.conf **********
server:/etc/asterisk # cd ..
server:/etc # cat capi.conf
#SuSEconfig.isdn generated
# card file proto io irq mem cardnr options
fcpci - - - - - 1
server:/etc #
************** stop /etc/capi.conf *************

************ start /etc/asterisk/capi.conf **********
server:/etc/asterisk # cat capi.conf
;
; 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)
; ;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=capi-in ;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)


;[ISDN1]
[4109879]
ntmode=yes
isdnmode=msn
;incomingmsn=4109879
incomingmsn=*
immediate=yes
controller=1
group=1
softdtmf=on
relaxdtmf=on
context=default
echocancel=yes
language=de
device=2
;defaultcid=3775200

server:/etc/asterisk #

************ stop /etc/asterisk/capi.conf *********
thnx
chris
 
Du haettest nicht alles schicken muessen. Der Teil wo chan-capi.so geladen wird reicht voellig. Da kann man sehen, dass nur der pseudo-D Kanal benutzt wird und das ist das Problem. Mir ist es eben auch erst aufgefallen: du hast in der capi.conf
anstelle von:
devices=2
nur
device=2
stehen. Und somit stehen dir keine Kanaele zur Verfuegnung.

Armin
 
GROSSER MEISTER, DU HAST ES MAL WIEDER GESCHAFFT!!!!!

wow....
dieses kleine verflixte "s"
... ich hatte inzwischen den gesamte ISDN Hardware Setup auseinander genommen und dort nach dem Fehler gesucht.

auch war ich mir nicht im klaren, was dieses "pseudo" bedeutete... ich hatte frueher keine x100p karte drinnen, und dort war dann als zaptel driver der pseudo drinnen. nundenn, jetzt bin ich (fast) wieder ein Happy-Chappy :D


DANKE DANKE DANKE DANKE DANKE DANKE DANKE :)
 
Zuletzt bearbeitet:
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.