[Freeswitch-users] how to configure pin for use in gsmopen ?
Luis Azedo
luis.azedo at factorlusitano.com
Thu Jul 4 23:02:30 MSD 2013
Hi,
thanks i disabled the pin with a cellphone.
i can't seem to get this to work.
i configured the imei because i don't know what dev to use.
how can i find what /dev/USB.... should i use if detection fails ?
i have a minimal centos 6.4 installation, do i need to install any missing
components ?
thanks
from lsusb command
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd.
E169/E620/E800 HSDPA Modem
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
from "load mod_gsmopen"
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1127 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1127 ][none ][-1,-1,-1]
Default globals.destination=5000
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1129 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1129 ][none ][-1,-1,-1]
Default globals.context=default
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1137 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1137 ][none ][-1,-1,-1]
globals.debug=0
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1139 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1139 ][none ][-1,-1,-1]
globals.debug=9
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1145 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1145 ][none ][-1,-1,-1]
globals.dialplan=XML
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1151 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1151 ][none ][-1,-1,-1]
globals.context=context_2
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1142 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1142 ][none ][-1,-1,-1]
globals.hold_music=
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1148 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1148 ][none ][-1,-1,-1]
globals.destination=9999
2013-07-04 19:52:05.429699 [DEBUG] gsmopen_protocol.cpp:2869 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 2869 ][none ][-1,-1,-1]
setting boost 0 to 512.000000
2013-07-04 19:52:05.429699 [DEBUG] gsmopen_protocol.cpp:2869 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 2869 ][none ][-1,-1,-1]
setting boost 0 to 512.000000
2013-07-04 19:52:05.429699 [ERR] mod_gsmopen.cpp:3035 rev
32adc78|4640a9c[(nil)|37 ][ERRORA 3035 ][none ][-1,-1,-1] port
/dev/ttyUSB2, NOT open
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3053 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3053 ][none ][-1,-1,-1]
************************************************
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3054 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3054 ][none ][-1,-1,-1]
f.imei=||
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3055 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3055 ][none ][-1,-1,-1]
f.imsi=||
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3056 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3056 ][none ][-1,-1,-1]
f.tty_data_device = |/dev/ttyUSB2|
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3057 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3057 ][none ][-1,-1,-1]
f.tty_audio_device = |/dev/ttyUSB1|
2013-07-04 19:52:05.429699 [NOTICE] mod_gsmopen.cpp:3058 rev
32adc78|4640a9c[(nil)|37 ][NOTICA 3058 ][none ][-1,-1,-1]
************************************************
2013-07-04 19:52:05.429699 [WARNING] mod_gsmopen.cpp:1589 rev
32adc78|4640a9c[(nil)|37 ][WARNINGA 1589 ][interface0][-1, 0, 0]
STARTING interface_id=1
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1590 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1590 ][interface0][-1, 0, 0]
id=1
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1591 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1591 ][interface0][-1, 0, 0]
name=interface0
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1592 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1592 ][interface0][-1, 0, 0]
hold-music=
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1593 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1593 ][interface0][-1, 0, 0]
context=context_2
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1594 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1594 ][interface0][-1, 0, 0]
dialplan=XML
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1595 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1595 ][interface0][-1, 0, 0]
destination=351934612906
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1596 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1596 ][interface0][-1, 0, 0]
imei=353435021664348
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1597 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1597 ][interface0][-1, 0, 0]
imsi=
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1598 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1598 ][interface0][-1, 0, 0]
controldevice_name=/dev/ttyUSB3
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1599 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1599 ][interface0][-1, 0, 0]
controldevice_audio_name=/dev/ttyUSB2
2013-07-04 19:52:05.429699 [DEBUG] mod_gsmopen.cpp:1601 rev
32adc78|4640a9c[(nil)|37 ][DEBUG_GSMOPEN 1601 ][interface0][-1, 0, 0]
gsmopen_serial_sync_period=300
2013-07-04 19:52:05.429699 [ERR] gsmopen_protocol.cpp:137 rev
32adc78|4640a9c[(nil)|37 ][ERRORA 137 ][interface0][-1, 0, 0] port
/dev/ttyUSB3, NOT open
2013-07-04 19:52:05.429699 [ERR] mod_gsmopen.cpp:1608 rev
32adc78|4640a9c[(nil)|37 ][ERRORA 1608 ][interface0][-1, 0, 0]
STARTING interface_id=1 FAILED: gsmopen_serial_init failed
2013-07-04 19:52:05.429699 [ERR] mod_gsmopen.cpp:2684 rev
32adc78|4640a9c[(nil)|37 ][ERRORA 2684 ][interface0][-1, 0, 0] ALARM
on interface interface0:
2013-07-04 19:52:05.449493 [CONSOLE] switch_loadable_module.c:1401
Successfully Loaded [mod_gsmopen]
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:147 Adding
Endpoint 'gsmopen'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:305 Adding API
Function 'gsm'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:305 Adding API
Function 'gsmopen'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:305 Adding API
Function 'gsmopen_boost_audio'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:305 Adding API
Function 'gsmopen_dump'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:305 Adding API
Function 'gsmopen_sendsms'
2013-07-04 19:52:05.449493 [NOTICE] switch_loadable_module.c:417 Adding
Chat interface 'sms'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130704/08ce5117/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list