Hallo,
sorry, daß ich hier nach nur 3 Stunden dtmfbox-Erfahrungen mit Fragen komme, die vielleicht schon mal irgendwo erklärt worden sind (die Suchfunktion hat mich nicht weitergebracht, bin auch für Links dankbar).
Ich habe die dtmfbox folgendermaßen konfiguriert (kein VOIP, nur iSDN):
Code:
[general]
loglevel=3
adjust_priority=1
max_connections=10
delimiter=none
scriptfile=/var/dtmfbox/script/userscript.sh
plugins=/var/dtmfbox/menu.plugin.so
[voip]
voip=0
voip_registrar=1
voip_max_clients=4
voip_realm=fritz.box
voip_udp_port=5061
voip_rtp_start=4000
voip_rtp_max=4
voip_register_interval=3600
voip_keep_alive=180
voip_use_vad=0
voip_ip_addr=
voip_stun=
voip_stun_port=3478
voip_ice=0
voip_nameserver=
voip_codecs=g711
voip_allow_unknown=0
[capi]
capi_controller=1,4,3,5
capi_int_prefix=0049
capi_nat_prefix=6153
capi_ulaw=0
capi_allow_unknown=0
[acc1]
active=1
name=Thomas
number=999999
type=capi
capi_controller_out=1
voip_registrar=
voip_realm=
voip_user=
voip_pass=
voip_do_not_register=0
voip_proxy=
voip_id=
voip_contact=
registrar_active=0
registrar_user=
registrar_pass=
menu_entry=menu:main
menu_keycode=800
Was funktioniert? Anrufbeantworter!
Was funktioniert nicht?
1. Auswahl mit Webphone: Der Ruf geht raus, bricht aber sofort ab. Es klingelt nicht, auf dem angerufenen Telefon wird jedoch ein eingehender Anruf angezeigt.
Code:
16:40:34.606 dtmfbox.c dtmfbox 0.5.0-rc1
16:40:34.606 dtmfbox.c PJSIP 1.0
16:40:34.615 voip_ctrl.c Conference bridge created (8000hz/16/1)
16:40:34.616 funcs.c Allocate 10 connections with 4 RTP/RTCP transports
16:40:34.630 capi_ctrl.c Init CAPI...
16:40:34.632 capi_ctrl.c CAPI controller: 5
16:40:34.632 capi_ctrl.c Found controller #1 with 2 B-channel(s)
16:40:34.633 capi_ctrl.c Found controller #2 with 2 B-channel(s)
16:40:34.633 capi_ctrl.c Found controller #3 with 2 B-channel(s)
16:40:34.633 capi_ctrl.c Found controller #4 with 1 B-channel(s)
16:40:34.633 capi_ctrl.c Found controller #5 with 3 B-channel(s)
16:40:34.637 capi_ctrl.c CAPI registered (ApplID: 7, b-channels: 10)
16:40:34.637 alaw_ulaw.c Build a-law/pcm table buffer
16:40:35.896 capi_ctrl.c CAPI initialized!
16:40:36.051 plugins.c [plugin.menu]: 27 menues/actions loaded!
16:40:36.052 plugins.c [plugin.menu]: Initialized!
16:40:36.052 plugins.c #1 - Plugin "/var/dtmfbox/menu.plugin.so" loaded!
16:40:36.055 funcs.c Set low priority
16:40:36.056 capi_ctrl.c (0x3ff) - Listen to CAPI controller 1...
16:40:36.057 capi_ctrl.c (0x3ff) - Listen to CAPI controller 4...
16:40:36.057 capi_ctrl.c (0x3ff) - Listen to CAPI controller 3...
16:40:36.058 capi_ctrl.c (0x3ff) - Listen to CAPI controller 5...
16:40:36.058 capi_ctrl.c (CNF, CTRL 1) - CAPI_LISTEN
16:40:36.058 capi_ctrl.c (CNF, CTRL 4) - CAPI_LISTEN
16:40:36.059 capi_ctrl.c (CNF, CTRL 3) - CAPI_LISTEN
16:40:36.059 capi_ctrl.c (CNF, CTRL 5) - CAPI_LISTEN
16:41:04.097 capi_funcs.c (CTRL 1, SRC: 988889, DST: 988888) - CONNECT_REQ
16:41:04.098 script_funcs.c [-1] (SCRIPT) - CAPI-CALL - 988889 -> 988888 [1]
16:41:04.099 capi_ctrl.c (CNF, CTRL 1, PLCI: 5377) - CAPI_CONNECT
16:41:04.111 script_funcs.c RUN SCRIPT: "/var/dtmfbox/script/userscript.sh" "CONNECT" "CAPI" "OUTGOING" "0" "-1" "988889" "988888" "1" ""
16:41:04.132 funcs.c Set high priority
16:41:04.820 capi_events.c (IND, CTRL 1, PLCI: 5377) - CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x01)
16:41:04.821 capi_events.c (IND, CTRL 1, PLCI: 5377) - CAPI_INFO (0xc000) - UNKNOWN INFO
16:41:05.181 capi_events.c Ignoring connection for unknown account [Called-Party: 00491111988888, Calling-Party: 00491111988889]
16:41:05.182 capi_events.c (IND, CTRL 1, PLCI: 5633) - CAPI_INFO (0x0070) - UNKNOWN INFO
16:41:05.183 capi_events.c (IND, CTRL 1, PLCI: 5633) - CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x01)
16:41:05.184 capi_events.c (IND, CTRL 1, PLCI: 5633) - CAPI_INFO (0xc000) - UNKNOWN INFO
16:41:05.185 capi_events.c (IND, CTRL 1, PLCI: 5633) - CAPI_DISCONNECT
2. Menuaufruf mit 800, **800 oder **##800
Code:
capi_events.c Ignoring connection for unknown account [Called-Party: unknown, Calling-Party: 988889]
16:50:10.710 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x03)
16:50:10.710 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_INFO (0xc000) - UNKNOWN INFO
16:50:10.711 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_INFO (0x800d) - SETUP ACK
16:50:10.712 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_INFO (0x001e) - PROGRESS INDICATOR (0x02)
16:50:10.712 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_INFO (0xc000) - UNKNOWN INFO
16:50:10.713 capi_events.c (IND, CTRL 3, PLCI: 6403) - CAPI_DISCONNECT
Falls jemand helfen kann, schon mal herzlichen Dank!
- vt