<span style='font-family:Verdana'><span style='font-size:12px'>It appears that selinux policies prevented freeswitch user from accessing /dev/ttyUSB*<br />
<br />
[root@freeswitch ~]# ls -l /dev/ttyUSB*<br />
crw-rw----. 1 root dialout 188, 0 Aug 21 10:57 /dev/ttyUSB0<br />
crw-rw----. 1 root dialout 188, 1 Aug 21 10:48 /dev/ttyUSB1<br />
crw-rw----. 1 root dialout 188, 2 Aug 21 10:48 /dev/ttyUSB2<br />
<br />
so adding freeswitch user to dialout group by running "usermod -a -G dialout freeswitch" worked for me.<br />
<br />
Have a nice day<br />
Mike<br />
<p style="margin:0px; padding:0px;" >
         </p>
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">From: Mi Ke</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 08/21/12 12:58 PM</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">To: FreeSWITCH Users Help</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: [Freeswitch-users] mod_gsmopen serial init failed</span></span></p>
        <br />
        <div>
                <span style="font-family:Verdana"><span style="font-size:12px"><span style="font-family:verdana;"><span style="font-size:12px;">Hi All,<br />
                <br />
                I have problems getting mod_gsmopen to see my E1550. Both minicom and wvdial see the dongle on /dev/ttyUSB0:</span></span><br />
                <br />
                ttyUSB0<*1>: ATQ0 V1 E1 -- OK<br />
                ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK<br />
                ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK<br />
                ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK<br />
                ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK<br />
                ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK<br />
                ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: huawei<br />
                ttyUSB0<*1>: Speed 9600: AT -- OK<br />
                ttyUSB0<*1>: Max speed is 9600; that should be safe.<br />
                ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK<br />
                <br />
                Welcome to minicom 2.3<br />
                <br />
                OPTIONS: I18n<br />
                Compiled on Aug 19 2010, 05:50:19.<br />
                Port /dev/ttyUSB0<br />
                <br />
                Press CTRL-A Z for help on special keys<br />
                AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0<br />
                OK <br />
                <br />
                at+cpin?<br />
                +CPIN: READY<br />
                OK<br />
                <br />
                but mod_gsmopen does not want to see it:<br />
                <br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1203 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1203 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 0 èéòàù<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1204 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1204 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 1 ç°§^£<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1205 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1205 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 2 новости<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1206 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1206 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 3 ﺎﻠﺠﻤﻋﺓ<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1207 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1207 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 4 ראת<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1208 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1208 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 5 לק<br />
                2012-08-21 09:18:18.973501 [NOTICE] mod_gsmopen.cpp:1209 rev ccae5cd|07bc7ba[(nil)|37 ][NOTICA 1209 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 6 人大<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1226 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1226 ][none ][-1,-1,-1] globals.debug=0<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1228 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1228 ][none ][-1,-1,-1] globals.debug=8<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1234 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1234 ][none ][-1,-1,-1] globals.dialplan=XML<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1240 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1240 ][none ][-1,-1,-1] globals.context=external<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1231 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1231 ][none ][-1,-1,-1] globals.hold_music=<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1237 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1237 ][none ][-1,-1,-1] globals.destination=5000<br />
                2012-08-21 09:18:18.973501 [WARNING] mod_gsmopen.cpp:1653 rev ccae5cd|07bc7ba[(nil)|37 ][WARNINGA 1653 ][gsm00 ][-1, 0, 0] STARTING interface_id=1<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1654 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1654 ][gsm00 ][-1, 0, 0] id=1<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1655 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1655 ][gsm00 ][-1, 0, 0] name=gsm00<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1656 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1656 ][gsm00 ][-1, 0, 0] hold-music=<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1657 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1657 ][gsm00 ][-1, 0, 0] context=default<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1658 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1658 ][gsm00 ][-1, 0, 0] dialplan=XML<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1659 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1659 ][gsm00 ][-1, 0, 0] destination=5000<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1660 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1660 ][gsm00 ][-1, 0, 0] controldevice_name=/dev/ttyUSB0<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1661 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1661 ][gsm00 ][-1, 0, 0] controldevice_audio_name=/dev/ttyUSB2<br />
                2012-08-21 09:18:18.973501 [DEBUG] mod_gsmopen.cpp:1663 rev ccae5cd|07bc7ba[(nil)|37 ][DEBUG_GSMOPEN 1663 ][gsm00 ][-1, 0, 0] gsmopen_serial_sync_period=300<br />
                2012-08-21 09:18:18.973501 [ERR] gsmopen_protocol.cpp:122 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 122 ][gsm00 ][-1, 0, 0] <span style="background-color:#ff0000;">port /dev/ttyUSB0, NOT open</span><br />
                2012-08-21 09:18:18.973501 [ERR] mod_gsmopen.cpp:1670 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 1670 ][gsm00 ][-1, 0, 0] gsmopen_serial_init failed<br />
                2012-08-21 09:18:18.973501 [ERR] mod_gsmopen.cpp:1671 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 1671 ][gsm00 ][-1, 0, 0] STARTING interface_id=1 FAILED<br />
                2012-08-21 09:18:18.973501 [ERR] mod_gsmopen.cpp:2928 rev ccae5cd|07bc7ba[(nil)|37 ][ERRORA 2928 ][gsm00 ][-1, 0, 0] ALARM on interface gsm00:<br />
                2012-08-21 09:18:18.973501 [CONSOLE] switch_loadable_module.c:1328 Successfully Loaded [mod_gsmopen]<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:146 Adding Endpoint 'gsmopen'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:298 Adding API Function 'gsm'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:298 Adding API Function 'gsmopen'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:298 Adding API Function 'gsmopen_boost_audio'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:298 Adding API Function 'gsmopen_dump'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:298 Adding API Function 'gsmopen_sendsms'<br />
                2012-08-21 09:18:18.973501 [NOTICE] switch_loadable_module.c:403 Adding Chat interface 'sms'<br />
                <br />
                <span style="font-family:verdana;"><span style="font-size:12px;">Dongle is voice enabled, PIN request is disabled...What do I do wrong ?<br />
                <br />
                Cheers / Mike</span></span></span></span><br />
                <br />
                 </div>
</blockquote>
<p style="margin:0px; padding:0px;" >
         </p>
</span></span>