Start dtmfbox ...
-------------------------------------------------------------------------------
dtmfbox 0.5.0
-------------------------------------------------------------------------------
13:51:46 dtmfbox 0.5.0
13:51:46 PJSIP 1.0.1
13:51:46 Init VoIP ...
13:51:46 Resolve local IP ...
13:51:46 Use IP: 192.168.178.1
13:51:46 UDP server listening on port 5061
13:51:46 Conference bridge created [8000/16/1]
13:51:46 Allocate 11 connections with 4 RTP/RTCP transports
13:51:46 RTP/RTCP: 192.168.178.1:4000-4001
13:51:46 RTP/RTCP: 192.168.178.1:4002-4003
13:51:46 RTP/RTCP: 192.168.178.1:4004-4005
13:51:46 RTP/RTCP: 192.168.178.1:4006-4007
13:51:46 RTP/RTCP media transport created
13:51:46 VoIP initialized!
13:51:46 Init CAPI ...
13:51:46 CAPI controller: 5
13:51:46 Found controller #1 with 2 B-channel(s)
13:51:46 Found controller #2 with 2 B-channel(s)
13:51:46 Found controller #3 with 2 B-channel(s)
13:51:46 Found controller #4 with 1 B-channel(s)
13:51:46 Found controller #5 with 5 B-channel(s)
13:51:46 CAPI registered (ApplID: 8, B-Channels: 12)
13:51:46 Build a-law/pcm table buffer
13:51:47 CAPI initialized!
13:51:47 [plugin.menu] Loading /var/dtmfbox//menu.cfg ...
13:51:47 [plugin.menu] action:1_ctrl5reject loaded (5 entries)
13:51:47 [plugin.menu] action:2_action_wrapper loaded (1 entries)
13:51:47 [plugin.menu] lib:speak loaded (2 entries)
13:51:47 [plugin.menu] menu:am loaded (2 entries)
13:51:47 [plugin.menu] menu:am_delete loaded (3 entries)
13:51:47 [plugin.menu] menu:am_on_off loaded (2 entries)
13:51:47 [plugin.menu] menu:am_setup loaded (4 entries)
13:51:47 [plugin.menu] menu:anticallcenter loaded (1 entries)
13:51:47 [plugin.menu] menu:callthrough_account loaded (13 entries)
13:51:47 [plugin.menu] menu:callthrough_number loaded (3 entries)
13:51:47 [plugin.menu] menu:callthrough_pin loaded (3 entries)
13:51:47 [plugin.menu] menu:dtmf_commands loaded (7 entries)
13:51:47 [plugin.menu] menu:main loaded (6 entries)
13:51:47 [plugin.menu] menu:misc loaded (6 entries)
13:51:47 [plugin.menu] menu:misc_checkmaild loaded (5 entries)
13:51:47 [plugin.menu] menu:misc_fb loaded (5 entries)
13:51:47 [plugin.menu] menu:misc_radio loaded (11 entries)
13:51:47 [plugin.menu] menu:misc_weather loaded (3 entries)
13:51:47 [plugin.menu] script:action_anticallcenter loaded (1 entries)
13:51:47 [plugin.menu] script:action_ctrl5 loaded (1 entries)
13:51:47 [plugin.menu] script:action_wrapper loaded (1 entries)
13:51:47 [plugin.menu] script:am_admin loaded (1 entries)
13:51:47 [plugin.menu] script:am_setup loaded (1 entries)
13:51:47 [plugin.menu] script:callthrough loaded (1 entries)
13:51:47 [plugin.menu] script:misc_checkmaild loaded (1 entries)
13:51:47 [plugin.menu] script:misc_fb loaded (1 entries)
13:51:47 [plugin.menu] script:misc_radio loaded (1 entries)
13:51:47 [plugin.menu] script:misc_weather loaded (1 entries)
13:51:47 [plugin.menu] 28 entries loaded!
13:51:47 [plugin.menu] Initialized!
13:51:47 #1 - Plugin "libmenu.plugin.so" loaded!
13:51:47 SIP (TX-REGISTER):
REGISTER sip:192.168.178.1 SIP/2.0
Via: SIP/2.0/UDP 192.168.178.1:5061;rport;branch=z9hG4bKPjbudBl6wIkvnf6D4cJ2xv61
VLZZBjt7it
Max-Forwards: 70
From: "DTMFBOX" <sip:[email protected]>;tag=JudBGWyTnhtMHiLN9JT5MGphiP4kpfZQ
To: <sip:[email protected]>
Call-ID: 0zm28fOxMIPpBO3BCwNiXsuM2UGK497i
CSeq: 18898 REGISTER
User-Agent: dtmfbox 0.5.0
Contact: "DTMFBOX" <sip:[email protected]:5061;transport=UDP>
Expires: 3600
Content-Length: 0
13:51:47 (0x3ff) - Listen to CAPI controller 1 ...
13:51:47 (0x3ff) - Listen to CAPI controller 4 ...
13:51:47 (0x3ff) - Listen to CAPI controller 3 ...
13:51:47 (0x3ff) - Listen to CAPI controller 5 ...
13:51:47 Start CAPI listen loop ...
13:51:47 Start VoIP listen loop ...
13:51:47 SIP (RX-REGISTER):
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.178.1:5061;rport=5061;branch=z9hG4bKPjJP8-fL21xLRzMO2-K
16-qGXqajEQWgGC
From: "DTMFBOX" <sip:[email protected]>;tag=JudBhjWyTnhtMHiLN9JT5MGphiP4kpfZQ
To: <sip:[email protected]>;tag=4215C01E2D432D49
Call-ID: 0zm28fOxMIPpBO3BCwNiXsuM2UGK497i
CSeq: 18899 REGISTER
Contact: "DTMFBOX" <sip:[email protected]:5061;transport=UDP>;expires=300
User-Agent: AVM FRITZ!Box Fon Speedport W 920V 65.04.90 (Apr 18 2011)
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
13:51:47 SIP registration successful (192.168.178.1), status=13
13:51:47 Next registration in 300 sec
13:51:47 [ctrl=1] CNF: CAPI_LISTEN
13:51:47 [ctrl=4] CNF: CAPI_LISTEN
13:51:47 [ctrl=3] CNF: CAPI_LISTEN
13:51:47 [ctrl=5] CNF: CAPI_LISTEN
13:51:58 [type=capi/inc conid=0 accid=2] (IND) CAPI_CONNECT
13:51:58 (IND) CAPI_INFO (0x0070) - UNKNOWN INFO
13:51:58 (IND) CAPI_INFO (0x0018) - CHANNEL IDENTIFICATION (0x03)
13:51:58 (IND) CAPI_INFO (0xc000) - UNKNOWN INFO
13:51:58 [ctrl=5, plci=2309] CNF: CAPI_ALERT
13:51:58 [plugin.menu] Action: script:action_wrapper (acc=2 con=0)
13:51:58 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONNECT", "CAPI", "INCOMING", "0", "-1", "3#49894567890", "01764567890", "2", "", "") (acc=2 con=0)
CbCt-Script: valid callthrough - 2 -> 01764567890
13:51:59 [type=capi/inc conid=0 accid=2] Hook up
13:51:59 [type=capi/inc conid=0 accid=2] (IND) CAPI_CONNECT_ACTIVE
13:51:59 [type=capi/inc conid=0 accid=2] (IND) CAPI_CONNECT_B3
13:51:59 [type=capi/inc conid=0 accid=2] (IND) CAPI_CONNECT_B3_ACTIVE
13:51:59 Enable DTMF (ncci=67845)
13:51:59 [plugin.menu] Action: script:action_wrapper (acc=2 con=0)
13:51:59 [plugin.menu] Script: /var/dtmfbox/script/action.sh(/var/dtmfbox/scrip
t/action.sh, "CONFIRMED", "CAPI", "INCOMING", "0", "-1", "3#49894567890", "017
64567890", "2", "", "") (acc=2 con=0)
13:51:59 [ctrl=5, plci=2309, ncci=67845] CNF: CAPI_FACILITY
Segmentation fault
done!
root@fritz:/var/media/ftp/uStor01/dtmfbox-0.5.0# -------------------------------
------------------------------------------------
dtmfbox 0.5.0
-------------------------------------------------------------------------------
13:51:59 dtmfbox 0.5.0
13:51:59 PJSIP 1.0.1
13:51:59 Init VoIP ...
13:51:59 (120125) UDP bind() error. Maybe Port 5061 already in use?
13:51:59 Unable to initialize VoIP!
13:51:59 Exiting ...
13:51:59 Destroy CAPI ...
13:51:59 CAPI AppID == -1 !!
rm: can't remove '/var/dtmfbox/tmp/0.am_pid': No such file or directory
AM-Script: Another script already got the call! Aborting...
13:52:00 CAPI destroyed!
13:52:00 Destroy VoIP ...
13:52:00 VoIP destroyed!
13:52:00 dtmfbox exited!