dtmfbox CallBack

soso

Mitglied
Mitglied seit
17 Mai 2005
Beiträge
445
Punkte für Reaktionen
1
Punkte
18
Hallo,

ich betreibe neben meiner FBF-7170 (Hauptbox) eine zweite FBF-Classic in der die dtmfbox läuft. An dieser zweiten FritzBox ist ein GSM-Gateway am analogen Amtsanschluss angeschlossen. Ich nutze die dtmfbox als SIP-Server damit die Friz-Hauptbox Gespräche an das GSM-Gateway weiterleiten und von dieser empangen kann. Dazu ist ein entspechender VoIP-Client in der Fritz-Hauptbox konfiguriert. Das Ganze funktioniert auch bestens.
Jetzt möchte ich in der dtmbox ein CallBack einrichten. Ein Telefonat von meinem Handy zum GSM-Gateway soll einen Rückruf zum Handy bewirken und anschließend soll das Gespräch zur Fritz-Hauptbox weitergeleitet werden wo es mittels Calltrough zum Festnetz weitergeleitet werden soll.
Der Rückruf zum Handy klappt auch aber danach passiert nichts mehr. Geht das überhaupt so?

Code:
[voip]
voip=1				// <b>VoIP</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_VOIP_ACTIVE', 'voip_voip', '1')]
				// [HTML:<div ID='DIV_VOIP_ACTIVE'>]
voip_registrar=1		// Registrar-Modus [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_VOIP_REGISTRAR_MODE', 'voip_voip_registrar', '1')]
				// [HTML:<div ID='DIV_VOIP_REGISTRAR_MODE'>]
voip_max_clients=4		// Registrar-Modus: Max. Clients [OPTION:0|0,1|1,2|2,3|3,4|4,5|5,6|6,7|7,8|8,9|9,10|10]
voip_realm=192.168.178.2	// Registrar-Modus: Authentication-Realm [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_VOIP_REGISTRAR_MODE', 'voip_voip_registrar', '1')</script>]
voip_udp_port=6060		// SIP Port [WIDTH:50px]
voip_rtp_start=4000		// RTP/RTCP Start-Port [WIDTH:50px]
voip_rtp_max=4			// Max. Anzahl an RTP/RTCP Ports [OPTION:0|0,1|1,2|2,3|3,4|4,5|5,6|6,7|7,8|8,9|9,10|10,11|11,12|12,13|13,14|14,15|15,16|16,17|17,18|18,19|19,20|20]
voip_register_interval=3600	// Registrierungs-Intervall (in sec) [WIDTH:50px]
voip_keep_alive=180		// Keep-Alive alle X sec senden (0=aus) [WIDTH:50px]
voip_use_vad=0			// VAD (silence detection) [OPTION:1|aktiviert,0|deaktiviert]
voip_ip_addr=192.168.178.2	// IP-Adresse des Interfaces (optional) [WIDTH:250px]
voip_stun=			// STUN-Server [WIDTH:250px]
voip_stun_port=3478		// STUN-Port [WIDTH:50px]
voip_ice=1			// ICE [OPTION:1|aktiviert,0|deaktiviert]
voip_nameserver=192.168.178.1		// Nameserver (max. 4, Komma-getrennt) [WIDTH:250px]
voip_codecs=g711		// Codecs (g711, speex, gsm, Komma-getrennt) [WIDTH:250px]
voip_allow_unknown=0		// Ereignis auslösen, bei unbekannten Accounts? (nicht ändern!) [HIDE:1]
				// [HTML:</div><script>set_group('DIV_VOIP_ACTIVE', 'voip_voip', '1')</script>]

[capi]
capi_controller=1,0,3,4,0	// Listen CAPI-Controller. Komma getrennt
capi_int_prefix=		// Landesvorwahl (z.B. 0049) [WIDTH:50px]
capi_nat_prefix=		// Ortsvorwahl (z.B. 203) [WIDTH:50px]
capi_ulaw=0			// Alaw=0, Ulaw=1 (nicht ändern!) [HIDE:1]
capi_allow_unknown=0		// Ereignis auslösen, bei unbekannten Accounts? [HIDE:1]

[acc1]
active=1			// <b>Account</b> [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')]
				// [HTML:<div ID='DIV_ACC1_ACTIVE'>]
name=GSM-Gateway		// Name [WIDTH:250px]
number=unknown			// Rufnummer [WIDTH:250px]
type=capi			// Account-Typ [OPTION:capi|capi,voip|voip] [ONCHANGE:set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi'); set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')]
				// [HTML:<div ID='DIV_ACC1_TYPE_CAPI'><br><script>show_title('CAPI')</script>]							
capi_controller_out=3		// Standardcontroller (ausgehende Verbindung): [OPTION:1|1,2|2,3|3,4|4,5|5]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_CAPI', 'acc1_type', 'capi')</script><div ID='DIV_ACC1_TYPE_VOIP'><br><script>show_title('VoIP')</script>]
voip_registrar=			// Registrar-Server [WIDTH:250px]
voip_realm=			// Registrar-Realm (oder *) [WIDTH:250px]
voip_user=			// Username [WIDTH:250px]
voip_pass=			// Passwort [WIDTH:250px] [TYPE:password]
voip_do_not_register=0		// Registrieren [OPTION:0|ja,1|nein]
voip_proxy=			// (Optional) Proxy [WIDTH:250px]
voip_id=			// (Optional) ID [WIDTH:250px]
voip_contact=			// (Optional) Contact [WIDTH:250px]
				// [HTML:</div><script>set_group('DIV_ACC1_TYPE_VOIP', 'acc1_type', 'voip')</script><br><script>show_title('Registrar-Login')</script>]
registrar_active=1		// Registrar-Login [OPTION:1|aktiviert,0|deaktiviert] [ONCHANGE:set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1')]
				// [HTML:<div ID='DIV_ACC1_REGISTRAR'>]
registrar_user=FBF-7170		// Username [WIDTH:250px]
registrar_pass=xxxxxx		// Passwort [WIDTH:250px] [TYPE:password]
				// [HTML:</div><br><script>set_group('DIV_ACC1_REGISTRAR', 'acc1_registrar_active', '1');show_title('Internes Menü')</script>]
menu_entry=menu:main		// Einstiegsmenü [WIDTH:250px]
menu_keycode=*610		// Interne Kurzwahl [WIDTH:50px]
				// [HTML:</div><script>set_group('DIV_ACC1_ACTIVE', 'acc1_active', '1')</script>]

Der CallBack-Eintrag sieht folgendermaßen aus:

CALLBACK1=".*1765125xxxx/01765125xxxx"

dtmfbox.log:
Code:
 10:22:30 dtmfbox 0.5.0 (Rev. 276)
 10:22:30 PJSIP 1.0.1
 10:22:30 Init VoIP ...
 10:22:30 Resolve IP from host 192.168.178.2 ...
 10:22:30 Use IP: 192.168.178.2
 10:22:30 UDP server listening on port 6060
 10:22:30 Conference bridge created [8000/16/1]
 10:22:30 Allocate 11 connections with 4 RTP/RTCP transports
 10:22:30 RTP/RTCP: 192.168.178.2:4000-4001
 10:22:30 RTP/RTCP: 192.168.178.2:4002-4003
 10:22:30 RTP/RTCP: 192.168.178.2:4004-4005
 10:22:30 RTP/RTCP: 192.168.178.2:4006-4007
 10:22:30 RTP/RTCP media transport created
 10:22:30 Start VoIP listen loop ...
 10:22:30 VoIP initialized!
 10:22:30 Init CAPI ...
 10:22:30 CAPI controller: 4
 10:22:30 Found controller #1 with 2 B-channel(s)
 10:22:30 Found controller #2 with 2 B-channel(s)
 10:22:30 Found controller #3 with 1 B-channel(s)
 10:22:30 Found controller #4 with 2 B-channel(s)
 10:22:30 CAPI registered (ApplID: 4, B-Channels: 7)
 10:22:30 Build a-law/pcm table buffer
 10:22:33 CAPI initialized!
 10:22:33 [plugin.menu] Loading /var/dtmfbox//menu.cfg ...
 10:22:33 [plugin.menu] action:1_ctrl5reject loaded (5 entries)
 10:22:33 [plugin.menu] action:2_action_wrapper loaded (1 entries)
 10:22:33 [plugin.menu] lib:speak loaded (2 entries)
 10:22:33 [plugin.menu] menu:am loaded (2 entries)
 10:22:33 [plugin.menu] menu:am_delete loaded (3 entries)
 10:22:33 [plugin.menu] menu:am_on_off loaded (2 entries)
 10:22:33 [plugin.menu] menu:am_setup loaded (4 entries)
 10:22:33 [plugin.menu] menu:anticallcenter loaded (1 entries)
 10:22:33 [plugin.menu] menu:callthrough_account loaded (13 entries)
 10:22:33 [plugin.menu] menu:callthrough_number loaded (3 entries)
 10:22:33 [plugin.menu] menu:callthrough_pin loaded (3 entries)
 10:22:33 [plugin.menu] menu:dtmf_commands loaded (7 entries)
 10:22:33 [plugin.menu] menu:main loaded (6 entries)
 10:22:33 [plugin.menu] menu:misc loaded (6 entries)
 10:22:33 [plugin.menu] menu:misc_checkmaild loaded (5 entries)
 10:22:33 [plugin.menu] menu:misc_fb loaded (5 entries)
 10:22:33 [plugin.menu] menu:misc_radio loaded (11 entries)
 10:22:33 [plugin.menu] menu:misc_weather loaded (3 entries)
 10:22:33 [plugin.menu] script:action_anticallcenter loaded (1 entries)
 10:22:33 [plugin.menu] script:action_ctrl5 loaded (1 entries)
 10:22:33 [plugin.menu] script:action_wrapper loaded (1 entries)
 10:22:33 [plugin.menu] script:am_admin loaded (1 entries)
 10:22:33 [plugin.menu] script:am_setup loaded (1 entries)
 10:22:33 [plugin.menu] script:callthrough loaded (1 entries)
 10:22:33 [plugin.menu] script:misc_checkmaild loaded (1 entries)
 10:22:33 [plugin.menu] script:misc_fb loaded (1 entries)
 10:22:33 [plugin.menu] script:misc_radio loaded (1 entries)
 10:22:33 [plugin.menu] script:misc_weather loaded (1 entries)
 10:22:33 [plugin.menu] 28 entries loaded!
 10:22:33 [plugin.menu] Initialized!
 10:22:33 #1 - Plugin "libmenu.plugin.so" loaded!
 10:22:33 (0x3ff) - Listen to CAPI controller 1 ...
 10:22:33 (0x3ff) - Listen to CAPI controller 3 ...
 10:22:33 (0x3ff) - Listen to CAPI controller 4 ...
 10:22:33 Start CAPI listen loop ...
 10:22:33 [ctrl=1] CNF: CAPI_LISTEN
 10:22:33 [ctrl=3] CNF: CAPI_LISTEN
 10:22:33 [ctrl=4] CNF: CAPI_LISTEN
 10:22:38 RX-REQUEST 799 bytes Request msg REGISTER/cseq=5 (rdata0x5456bc) from
UDP 192.168.178.1:5060
 10:22:38
REGISTER sip:192.168.178.2 SIP/2.0
Via: SIP/2.0/UDP 84.177.24.179:5060;branch=z9hG4bKAB6F46A303232047
From: <sip:[email protected]>;tag=1940275316
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 5 REGISTER
Authorization: Digest username="FBF-7170", realm="192.168.178.2", nonce="515f007
c5bd062c2", uri="sip:192.168.178.2", response="8b7736c6bace4b42932e7115d1cbab87"
, algorithm=md5, opaque="122008544db127f8"
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME
SSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0
 10:22:38 Request 4 unsupported!
 10:22:38 Found credentials -> user: FBF-7170, realm: 192.168.178.2
 10:22:38 DIGEST=HEADER 8b7736c6bace4b42932e7115d1cbab87=8b7736c6bace4b42932e711
5d1cbab87
 10:22:38 Client 192.168.178.1:5060 authorized for account GSM-Gateway
 10:22:38 Status: 200 (OK)
 10:22:38 RX-REQUEST 823 bytes Request msg REGISTER/cseq=6 (rdata0x5456bc) from
UDP 192.168.178.1:5060
 10:22:38
REGISTER sip:192.168.178.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bK1CAD44D6CABE36DA
From: <sip:[email protected]>;tag=1940275316
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 6 REGISTER
Contact: *
Authorization: Digest username="FBF-7170", realm="192.168.178.2", nonce="515f007
c5bd062c2", uri="sip:192.168.178.2", response="8b7736c6bace4b42932e7115d1cbab87"
, algorithm=md5, opaque="122008544db127f8"
Expires: 0
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME
SSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0
 10:22:38 Request 4 unsupported!
 10:22:38 Found credentials -> user: FBF-7170, realm: 192.168.178.2
 10:22:38 DIGEST=HEADER 8b7736c6bace4b42932e7115d1cbab87=8b7736c6bace4b42932e711
5d1cbab87
 10:22:38 Status: 200 (OK)
 10:22:49 RX-REQUEST 595 bytes Request msg REGISTER/cseq=1 (rdata0x5456bc) from
UDP 192.168.178.1:5060
 10:22:49
REGISTER sip:192.168.178.2 SIP/2.0
Via: SIP/2.0/UDP 84.177.24.179:5060;branch=z9hG4bKE85645CFF5206647
From: <sip:[email protected]>;tag=1983720174
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 1 REGISTER
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME
SSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0
 10:22:49 Request 4 unsupported!
 10:22:49 Request authorization challenge (realm: 192.168.178.2) ...
 10:22:49 RX-REQUEST 799 bytes Request msg REGISTER/cseq=2 (rdata0x5456bc) from
UDP 192.168.178.1:5060
 10:22:49
REGISTER sip:192.168.178.2 SIP/2.0
Via: SIP/2.0/UDP 84.177.24.179:5060;branch=z9hG4bKF900FF8702075B82
From: <sip:[email protected]>;tag=1983720174
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 2 REGISTER
Authorization: Digest username="FBF-7170", realm="192.168.178.2", nonce="515f007
c5bd062c2", uri="sip:192.168.178.2", response="8b7736c6bace4b42932e7115d1cbab87"
, algorithm=md5, opaque="122008544db127f8"
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME
SSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0
 10:22:49 Request 4 unsupported!
 10:22:49 Found credentials -> user: FBF-7170, realm: 192.168.178.2
 10:22:49 DIGEST=HEADER 8b7736c6bace4b42932e7115d1cbab87=8b7736c6bace4b42932e711
5d1cbab87
 10:22:49 Status: 200 (OK)
 10:22:49 RX-REQUEST 888 bytes Request msg REGISTER/cseq=3 (rdata0x5456bc) from
UDP 192.168.178.1:5060
 10:22:49
REGISTER sip:192.168.178.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bKEFF3FED9CBD23D38
From: <sip:[email protected]>;tag=1983720174
To: <sip:[email protected]>
Call-ID: [email protected]
CSeq: 3 REGISTER
Contact: <sip:[email protected];uniq=D15B704FC292BB7545AF50C390ED0>
Authorization: Digest username="FBF-7170", realm="192.168.178.2", nonce="515f007
c5bd062c2", uri="sip:192.168.178.2", response="8b7736c6bace4b42932e7115d1cbab87"
, algorithm=md5, opaque="122008544db127f8"
Expires: 1800
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Supported: 100rel,replaces,timer
Allow-Events: telephone-event,refer,reg
Allow: INVITE,ACK,OPTIONS,CANCEL,BYE,UPDATE,PRACK,INFO,SUBSCRIBE,NOTIFY,REFER,ME
SSAGE,PUBLISH
Accept: application/sdp, multipart/mixed
Accept-Encoding: identity
Content-Length: 0
 10:22:49 Request 4 unsupported!
 10:22:49 Found credentials -> user: FBF-7170, realm: 192.168.178.2
 10:22:49 DIGEST=HEADER 8b7736c6bace4b42932e7115d1cbab87=8b7736c6bace4b42932e711
5d1cbab87
 10:22:49 Status: 200 (OK)
 10:22:49 RX-REQUEST 549 bytes Request msg SUBSCRIBE/cseq=4 (rdata0x5456bc) from
 UDP 192.168.178.1:5060
 10:22:49
SUBSCRIBE sip:[email protected]:6060 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.1:5060;branch=z9hG4bKCCE8577827DE0ED5
From: <sip:[email protected]>;tag=4216591147
To: <sip:[email protected]:6060>
Call-ID: [email protected]
CSeq: 4 SUBSCRIBE
Contact: <sip:[email protected];uniq=D15B704FC292BB7545AF50C390ED0>
Event: message-summary
Expires: 3600
Max-Forwards: 70
User-Agent: AVM FRITZ!Box Fon WLAN 7170 (UI) 29.04.76 (Jul 13 2009)
Allow: NOTIFY
Accept: application/simple-message-summary
Content-Length: 0
 10:22:49 Request 6 unsupported!
 10:22:49 Method not allowed (6)!
 10:29:38 [type=capi/inc conid=0 accid=1] (IND) CAPI_CONNECT
 10:29:38 Make VoIP call by client (<sip:[email protected]:6060> ->
<sip:[email protected]:5060>) ...
 10:29:38 Initialize outgoing call from '<sip:[email protected]:6060
>' to '<sip:[email protected]:5060>'
 10:29:38 Create SDP ...
 10:29:38 Create invite session ...
 10:29:38 [type=voip/out conid=1 accid=1] Call state changed to CALLING
 10:29:38 (IND) CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x03)
 10:29:38 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
 10:29:38 [ctrl=3, plci=3075] CNF: CAPI_ALERT
 10:29:38 [plugin.menu] Action: script:action_wrapper (acc=1 con=1)
 10:29:38 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONNECT", "USER", "INCOMING", "1", "0", "unknown", "[email protected]
68.178.1:5060", "1", "", "") (acc=1 con=1)
 10:29:38 [plugin.menu] Action: script:action_wrapper (acc=1 con=0)
 10:29:38 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONNECT", "CAPI", "INCOMING", "0", "1", "unknown", "00491765125xxxx", "1", "", "") (acc=1 con=0)
 10:29:38 [type=voip/out conid=1 accid=1] Call CONNECTING (reason=0, Default sta
tus message)
 10:29:38 On media update
 10:29:38 stream #0: PCMU (8000/1)
 10:29:38 stream #0: disable VAD [port=1]
 10:29:38 [type=voip/out conid=1 accid=1] Call CONFIRMED (reason=0, Default stat
us message)
 10:29:38 [plugin.menu] Action: script:action_wrapper (acc=1 con=1)
 10:29:38 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONFIRMED", "USER", "INCOMING", "1", "0", "unknown", "FBF-7170@192
.168.178.1:5060", "1", "", "") (acc=1 con=1)
 10:29:38 [type=capi/inc conid=0 accid=1] (IND) CAPI_CONNECT_ACTIVE
 10:29:38 [type=capi/inc conid=0 accid=1] (IND) CAPI_CONNECT_B3
 10:29:38 [type=capi/inc conid=0 accid=1] (IND) CAPI_CONNECT_B3_ACTIVE
 10:29:38 Enable DTMF (ncci=68611)
 10:29:38 [ctrl=3, plci=3075, ncci=68611] CNF: CAPI_FACILITY
 10:29:39 [plugin.menu] Action: script:action_wrapper (acc=1 con=0)
 10:29:39 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONFIRMED", "CAPI", "INCOMING", "0", "1", "unknown", "00491765125xxxx", "1", "", "") (acc=1 con=0)
 10:29:56 (IND) CAPI_INFO (0x8045) - DISCONNECT
 10:29:56 (IND) CAPI_INFO (0x001e) - PROGRESS INDICATOR (0x02)
 10:29:56 (IND) CAPI_INFO (0x0008) - CAUSE (0x01)
 10:29:56 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
 10:29:57 [type=capi/inc conid=0 accid=1] (IND) CAPI_DISCONNECT_B3
 10:29:57 CAPI 0x3491 - User busy
 10:29:57 [type=capi/inc conid=0 accid=1] (IND) CAPI_DISCONNECT
 10:29:57 VoIP client disconnected [1]
 10:29:57 [type=voip/out conid=1 accid=1] Call DISCONNECTED (reason=200, OK)
 10:29:57 [plugin.menu] Action: script:action_wrapper (acc=1 con=0)
 10:29:57 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "UNCONFIRMED", "CAPI", "INCOMING", "0", "1", "unknown", "0049176512
5xxxx", "1", "", "") (acc=1 con=0)
 10:29:58 [plugin.menu] Action: script:action_wrapper (acc=1 con=0)
 10:29:58 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "DISCONNECT", "CAPI", "INCOMING", "0", "1", "unknown", "00491765125
xxxx", "1", "", "13457") (acc=1 con=0)
 10:29:58 [plugin.menu] Action: script:action_wrapper (acc=1 con=1)
 10:29:58 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "DISCONNECT", "USER", "INCOMING", "1", "-1", "unknown", "FBF-7170@1
92.168.178.1:5060", "1", "", "0") (acc=1 con=1)
 10:30:04 (CTRL 3, SRC: unknown, DST: 01765125xxxx) - CONNECT_REQ
 10:30:04 [type=capi/out conid=0 accid=1] Make CAPI call
 10:30:04 [ctrl=3, plci=3331] CNF: CAPI_CONNECT
 10:30:04 (IND) CAPI_INFO (0x800d) - SETUP ACK
 10:30:04 (IND) CAPI_INFO (0x001e) - PROGRESS INDICATOR (0x02)
 10:30:04 (IND) CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x03)
 10:30:04 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
 10:30:04 [plugin.menu] Action: script:action_wrapper (acc=1 con=0)
 10:30:04 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONNECT", "CAPI", "OUTGOING", "0", "-1", "unknown", "01765125xxxx"
, "1", "", "") (acc=1 con=0)
 10:30:05 [plugin.menu] Menu: [menu:callthrough_pin] (acc=1 con=0)
 10:30:05 [plugin.menu] Script: /var/dtmfbox/script/espeak.sh(/var/dtmfbox/scrip
t/espeak.sh, "Koolfruh. Bitte Pin eingeben.", "0") (acc=1 con=0)
 10:30:05 [type=capi/out conid=0 accid=1] Stop playing (-2)
 10:30:17 (IND) CAPI_INFO (0x8001) - ALERTING
 10:30:17 (IND) CAPI_INFO (0x001e) - PROGRESS INDICATOR (0x02)
 10:30:17 (IND) CAPI_INFO (0x0070) - UNKNOWN INFO
 10:30:17 [type=capi/out conid=0 accid=1] Incoming DTMF (0)
 10:30:17 [type=capi/out conid=0 accid=1] Incoming DTMF (1)
 10:30:17 [type=capi/out conid=0 accid=1] Incoming DTMF (7)
 10:30:17 [type=capi/out conid=0 accid=1] Incoming DTMF (6)
 10:30:17 [type=capi/out conid=0 accid=1] Incoming DTMF (5)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (1)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (2)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (5)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (0)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (2)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (7)
 10:30:18 [type=capi/out conid=0 accid=1] Incoming DTMF (5)
 10:30:18 (IND) CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x03)
 10:30:18 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
 10:30:23 [type=capi/out conid=0 accid=1] (IND) CAPI_CONNECT_ACTIVE
 10:30:23 [ctrl=3, plci=3331, ncci=68867] CNF: CAPI_CONNECT_B3
 10:30:23 [type=capi/out conid=0 accid=1] (IND) CAPI_CONNECT_B3_ACTIVE
 10:30:23 Enable DTMF (ncci=68867)
 10:30:23 [ctrl=3, plci=3331, ncci=68867] CNF: CAPI_FACILITY
 10:30:23 [plugin.menu] Menu: [menu:callthrough_pin] (acc=1 con=0)
 10:30:23 [plugin.menu] Script: /var/dtmfbox/script/espeak.sh(/var/dtmfbox/scrip
t/espeak.sh, "Koolfruh. Bitte Pin eingeben.", "0") (acc=1 con=0)
 10:30:23 [type=capi/out conid=0 accid=1] Stop playing (-2)
 10:30:23 Stream player created (/var/tmp/0-espeak-3017.wav, 8000hz, 16bit, mono
)
 10:30:23 [type=capi/out conid=0 accid=1] Play /var/tmp/0-espeak-3017.wav (0)
 10:30:39 (IND) CAPI_INFO (0x8045) - DISCONNECT
 10:30:39 (IND) CAPI_INFO (0x001e) - PROGRESS INDICATOR (0x02)
 10:30:39 (IND) CAPI_INFO (0x0008) - CAUSE (0x01)
 10:30:39 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
 
Zuletzt bearbeitet:
Ich hab noch zwei Fragen:

1. Ich habe für das CallBack der dtmfbox keine PIN vergeben da die PIN sowiso in der Fritz-Hauptbox beim Calltrough abgefragt wird. Ist das erlaubt oder muss ich eine PIN definieren?

2. Im dtmfbox-Protokoll taucht ein script "espeak.sh" auf. Ich habe aber aus Platzgründen das espeak-Modul beim Erzeugen mit freetz nicht ausgewählt. Kann es daran liegen?
 
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.