<div dir="ltr">Latest FS (Git HEAD, as of yesterday), cloned and built successfully with mod_gsmopen. Have used a fully unlocked E1550 dongle (tested in Mobile Partner softeware in Windows, able to make calls, send SMSs). Started FS with default configurations, as per Wiki instructions. Using the default configration for gsmopen as well (maybe, that is the problem) ???<br>
<br>I get the highlighted errors, while loading mod_gsmopen ! My naive interpretation (started with FS yesterday, and no experience with Asterisk either), is that in the gsmopen module default config, I find:<br><br> <per_interface_settings><br>
<interface id="1" name="gsm01"><br> <param name="controldevice_name" value="/dev/ttyUSB3"/><br> <param name="controldevice_audio_name" value="/dev/ttyUSB2"/><br>
<br><div>However from the error logs printed in FS console, I see:<br><br><span style="background-color:rgb(255,0,0)">4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3056 ][none ][-1,-1,-1] f.tty_data_device = |/dev/ttyUSB2|</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22
23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3057 rev
4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3057 ][none ][-1,-1,-1]
f.tty_audio_device = |/dev/ttyUSB1|</span><br><br></div><div>Probably that is autodetected !! But how, without the IMSI/IMEI being specified?<br></div><div><br>---<br><br>freeswitch@dabbian1> load mod_gsmopen<br>2013-08-22 23:29:51.807103 [INFO] mod_enum.c:876 ENUM Reloaded<br>
2013-08-22 23:29:51.847112 [INFO] switch_time.c:1191 Timezone reloaded 530 definitions<br>2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1106 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1106 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 0 èéòàù<br>
2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1107 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1107 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 1 ç°§^£<br>2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1108 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1108 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 2 новости<br>
2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1109 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1109 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 3 ﺎﻠﺠﻤﻋﺓ<br>2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1110 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1110 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 4 ראת<br>
2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1111 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1111 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 5 לק<br>2013-08-22 23:29:52.427101 [NOTICE] mod_gsmopen.cpp:1112 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 1112 ][none ][-1,-1,-1] GSMOPEN Charset Output Test 6 人大<br>
2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3053 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3053 ][none ][-1,-1,-1] ************************************************<br>2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3054 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3054 ][none ][-1,-1,-1] f.imei=|354638041679399|<br>
2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3055 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3055 ][none ][-1,-1,-1] f.imsi=|405034007414619|<br><span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3056 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3056 ][none ][-1,-1,-1] f.tty_data_device = |/dev/ttyUSB2|</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3057 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3057 ][none ][-1,-1,-1] f.tty_audio_device = |/dev/ttyUSB1|</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.007103 [NOTICE] mod_gsmopen.cpp:3058 rev 4a3d1a0|4a3d1a0[(nil)|37 ][NOTICA 3058 ][none ][-1,-1,-1] ************************************************</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.027123 [WARNING] mod_gsmopen.cpp:1589 rev 4a3d1a0|4a3d1a0[(nil)|37 ][WARNINGA 1589 ][gsm01 ][-1, 0, 0] STARTING interface_id=1</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.027123 [ERR] gsmopen_protocol.cpp:137 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 137 ][gsm01 ][-1, 0, 0] port /dev/ttyUSB3, NOT open</span><br style="background-color:rgb(255,0,0)">
<span style="background-color:rgb(255,0,0)">2013-08-22 23:29:53.027123 [ERR] mod_gsmopen.cpp:1608 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 1608 ][gsm01 ][-1, 0, 0] STARTING interface_id=1 FAILED: gsmopen_serial_init failed</span><br>
<br>+OK Reloading XML<br>+OK<br><br>2013-08-22 23:29:53.027123 [ERR] mod_gsmopen.cpp:2684 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 2684 ][gsm01 ][-1, 0, 0] ALARM on interface gsm01: <br>freeswitch@dabbian1> 2013-08-22 23:29:53.027123 [CONSOLE] switch_loadable_module.c:1401 Successfully Loaded [mod_gsmopen]<br>
2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:147 Adding Endpoint 'gsmopen'<br>2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:305 Adding API Function 'gsm'<br>2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:305 Adding API Function 'gsmopen'<br>
2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:305 Adding API Function 'gsmopen_boost_audio'<br>2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:305 Adding API Function 'gsmopen_dump'<br>
2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:305 Adding API Function 'gsmopen_sendsms'<br>2013-08-22 23:29:53.027123 [NOTICE] switch_loadable_module.c:417 Adding Chat interface 'sms'<br><br>
freeswitch@dabbian1> <br><br>---<br><br><br></div><div>With this understanding, I went ahead and modified the gsmopen config file, to:<br> <per_interface_settings><br> <interface id="1" name="gsm01"><br>
<param name="controldevice_name" value="/dev/ttyUSB2"/><br> <param name="controldevice_audio_name" value="/dev/ttyUSB1"/><br><br></div><div>then unloaded mod_gsmopen, and reloaded it, but now, I get this error:<br>
<br>2013-08-22 23:41:43.587104 [ERR] gsmopen_protocol.cpp:137 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 137 ][gsm01 ][-1, 0, 0] port /dev/ttyUSB3, NOT open<br>2013-08-22 23:41:43.587104 [ERR] mod_gsmopen.cpp:1608 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 1608 ][gsm01 ][-1, 0, 0] STARTING interface_id=1 FAILED: gsmopen_serial_init failed<br>
2013-08-22 23:41:43.587104 [ERR] mod_gsmopen.cpp:2684 rev 4a3d1a0|4a3d1a0[(nil)|37 ][ERRORA 2684 ][gsm01 ][-1, 0, 0] ALARM on interface gsm01: <br><br></div><div>What does it need /dev/ttyUSB3 for ?<br></div><div>
<br></div><div>Maybe -- after all, my non linear progression into setting up FS and using it by somewhat of trial-n-error isn't helping!<br></div><div><br></div><div>thanks,<br></div><div>Jay<br></div></div>