<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[Freeswitch-trunk][15258] </title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<div id="header">FreeSWITCH Subversion</div>
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://fisheye.freeswitch.org/changelog/FreeSWITCH?cs=15258">15258</a></dd>
<dt>Author</dt> <dd>gmaruzz</dd>
<dt>Date</dt> <dd>2009-10-28 06:16:50 -0500 (Wed, 28 Oct 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>gsmopen: shut compiler warnings, allow the SMS sending in TEXT mode, while we change the code for receiving to PDU mode</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#freeswitchbranchesgmaruzzmod_gsmopengsmopen_protocolcpp">freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen_protocol.cpp</a></li>
<li><a href="#freeswitchbranchesgmaruzzmod_gsmopenmod_gsmopencpp">freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="freeswitchbranchesgmaruzzmod_gsmopengsmopen_protocolcpp"></a>
<div class="modfile"><h4>Modified: freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen_protocol.cpp (15257 => 15258)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen_protocol.cpp        2009-10-27 22:04:44 UTC (rev 15257)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/gsmopen_protocol.cpp        2009-10-28 11:16:50 UTC (rev 15258)
</span><span class="lines">@@ -1,5 +1,5 @@
</span><span class="cx"> #include &quot;gsmopen.h&quot;
</span><del>-#include &lt;iostream.h&gt;
</del><ins>+//#include &lt;iostream.h&gt;
</ins><span class="cx"> #include &lt;gsmlib/gsm_sms.h&gt;
</span><span class="cx"> 
</span><span class="cx"> using namespace std;
</span><span class="lines">@@ -302,9 +302,9 @@
</span><span class="cx">         if (res) {
</span><span class="cx">                 DEBUGA_GSMOPEN(&quot;AT+CMGF? failed, continue\n&quot;, GSMOPEN_P_LOG);
</span><span class="cx">         }
</span><del>-        res = gsmopen_serial_write_AT_ack(tech_pvt, &quot;AT+CMGF=0&quot;);        //TODO: support phones that only accept pdu mode
</del><ins>+        res = gsmopen_serial_write_AT_ack(tech_pvt, &quot;AT+CMGF=1&quot;);        //TODO: support phones that only accept pdu mode
</ins><span class="cx">         if (res) {
</span><del>-                ERRORA(&quot;Error setting SMS sending mode to TEXT on the cellphone\n&quot;, GSMOPEN_P_LOG);
</del><ins>+                ERRORA(&quot;Error setting SMS sending mode to PDU on the cellphone\n&quot;, GSMOPEN_P_LOG);
</ins><span class="cx">                 return RESULT_FAILURE;
</span><span class="cx">         }
</span><span class="cx">         /* what is the Charset of SMSs? */
</span><span class="lines">@@ -2909,6 +2909,7 @@
</span><span class="cx">         //char *stringp = NULL;
</span><span class="cx">         //int found = 0;
</span><span class="cx">         int failed = 0;
</span><ins>+                int err = 0;
</ins><span class="cx"> 
</span><span class="cx">         //strncpy(rdest, idest, sizeof(rdest) - 1);
</span><span class="cx">         DEBUGA_GSMOPEN(&quot;GSMopenSendsms: dest=%s text=%s\n&quot;, GSMOPEN_P_LOG, dest, text);
</span><span class="lines">@@ -2923,13 +2924,18 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if (tech_pvt-&gt;controldevprotocol == PROTOCOL_AT) {
</span><del>-                int err = 0;
</del><span class="cx">                 char smscommand[16000];
</span><span class="cx">                 memset(smscommand, '\0', sizeof(smscommand));
</span><span class="cx"> 
</span><span class="cx">                 PUSHA_UNLOCKA(&amp;tech_pvt-&gt;controldev_lock);
</span><span class="cx">                 LOKKA(tech_pvt-&gt;controldev_lock);
</span><span class="cx"> 
</span><ins>+                        err = gsmopen_serial_write_AT_ack(tech_pvt, &quot;AT+CMGF=1&quot;);
+                        if (err) {
+                                ERRORA(&quot;AT+CMGF=1 (set message sending to TEXT (as opposed to PDU)  do not got OK from the phone\n&quot;, GSMOPEN_P_LOG);
+                        }
+
+
</ins><span class="cx">                 if (tech_pvt-&gt;no_ucs2) {
</span><span class="cx">                         sprintf(smscommand, &quot;AT+CMGS=\&quot;%s\&quot;&quot;, dest);        //TODO: support phones that only accept pdu mode
</span><span class="cx">                 } else {
</span><span class="lines">@@ -3040,6 +3046,12 @@
</span><span class="cx">                 POPPA_UNLOCKA(&amp;tech_pvt-&gt;controldev_lock);
</span><span class="cx">         }
</span><span class="cx"> 
</span><ins>+                        err = gsmopen_serial_write_AT_ack(tech_pvt, &quot;AT+CMGF=0&quot;);
+                        if (err) {
+                                ERRORA(&quot;AT+CMGF=1 (set message sending to PDU (as opposed to TEXT)  do not got OK from the phone\n&quot;, GSMOPEN_P_LOG);
+                        }
+
+
</ins><span class="cx">         DEBUGA_GSMOPEN(&quot;FINISH\n&quot;, GSMOPEN_P_LOG);
</span><span class="cx">         if (failed)
</span><span class="cx">                 return -1;
</span></span></pre></div>
<a id="freeswitchbranchesgmaruzzmod_gsmopenmod_gsmopencpp"></a>
<div class="modfile"><h4>Modified: freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp (15257 => 15258)</h4>
<pre class="diff"><span>
<span class="info">--- freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp        2009-10-27 22:04:44 UTC (rev 15257)
+++ freeswitch/branches/gmaruzz/mod_gsmopen/mod_gsmopen.cpp        2009-10-28 11:16:50 UTC (rev 15258)
</span><span class="lines">@@ -101,7 +101,7 @@
</span><span class="cx"> #define SOFT_RELOAD 1
</span><span class="cx"> /* END: Changes heres */
</span><span class="cx"> 
</span><del>-char *interface_status[] = {        /* should match GSMOPEN_STATE_xxx in gsmopen.h */
</del><ins>+const char *interface_status[] = {        /* should match GSMOPEN_STATE_xxx in gsmopen.h */
</ins><span class="cx">         &quot;IDLE&quot;,
</span><span class="cx">         &quot;DOWN&quot;,
</span><span class="cx">         &quot;RING&quot;,
</span><span class="lines">@@ -115,7 +115,7 @@
</span><span class="cx">         &quot;HANG_RQ&quot;,
</span><span class="cx">         &quot;PREANSW&quot;
</span><span class="cx"> };
</span><del>-char *phone_callflow[] = {                /* should match CALLFLOW_XXX in gsmopen.h */
</del><ins>+const char *phone_callflow[] = {                /* should match CALLFLOW_XXX in gsmopen.h */
</ins><span class="cx">         &quot;CALL_IDLE&quot;,
</span><span class="cx">         &quot;CALL_DOWN&quot;,
</span><span class="cx">         &quot;INCOMING_RNG&quot;,
</span><span class="lines">@@ -934,7 +934,7 @@
</span><span class="cx">         switch_assert(tech_pvt != NULL);
</span><span class="cx"> 
</span><span class="cx">         if (!body) {
</span><del>-                body = &quot;&quot;;
</del><ins>+                body = (char *)&quot;&quot;;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         WARNINGA(&quot;event: |||%s|||\n&quot;, GSMOPEN_P_LOG, body);
</span><span class="lines">@@ -1107,7 +1107,7 @@
</span><span class="cx"> 
</span><span class="cx"> static switch_status_t load_config(int reload_type)
</span><span class="cx"> {
</span><del>-        char *cf = &quot;gsmopen.conf&quot;;
</del><ins>+        const char *cf = &quot;gsmopen.conf&quot;;
</ins><span class="cx">         switch_xml_t cfg, xml, global_settings, param, interfaces, myinterface;
</span><span class="cx">         private_t *tech_pvt = NULL;
</span><span class="cx"> 
</span><span class="lines">@@ -1153,82 +1153,82 @@
</span><span class="cx">                 for (myinterface = switch_xml_child(interfaces, &quot;interface&quot;); myinterface; myinterface = myinterface-&gt;next) {
</span><span class="cx">                         char *id = (char *) switch_xml_attr(myinterface, &quot;id&quot;);
</span><span class="cx">                         char *name = (char *) switch_xml_attr(myinterface, &quot;name&quot;);
</span><del>-                        char *context = &quot;default&quot;;
-                        char *dialplan = &quot;XML&quot;;
-                        char *destination = &quot;5000&quot;;
-                        char *controldevice_name = &quot;/dev/ttyACM0&quot;;
</del><ins>+                        const char *context = &quot;default&quot;;
+                        const char *dialplan = &quot;XML&quot;;
+                        const char *destination = &quot;5000&quot;;
+                        const char *controldevice_name = &quot;/dev/ttyACM0&quot;;
</ins><span class="cx">                         char *digit_timeout = NULL;
</span><span class="cx">                         char *max_digits = NULL;
</span><span class="cx">                         char *hotline = NULL;
</span><span class="cx">                         char *dial_regex = NULL;
</span><span class="cx">                         char *hold_music = NULL;
</span><span class="cx">                         char *fail_dial_regex = NULL;
</span><del>-                        char *enable_callerid = &quot;true&quot;;
</del><ins>+                        const char *enable_callerid = &quot;true&quot;;
</ins><span class="cx"> 
</span><span class="cx"> 
</span><del>-                        char *at_dial_pre_number = &quot;ATD&quot;;
-                        char *at_dial_post_number = &quot;;&quot;;
-                        char *at_dial_expect = &quot;OK&quot;;
-                        char *at_hangup = &quot;ATH&quot;;
-                        char *at_hangup_expect = &quot;OK&quot;;
-                        char *at_answer = &quot;ATA&quot;;
-                        char *at_answer_expect = &quot;OK&quot;;
-                        char *at_send_dtmf = &quot;AT+VTS&quot;;
-                        char *at_preinit_1 = &quot;&quot;;
-                        char *at_preinit_1_expect = &quot;&quot;;
-                        char *at_preinit_2 = &quot;&quot;;
-                        char *at_preinit_2_expect = &quot;&quot;;
-                        char *at_preinit_3 = &quot;&quot;;
-                        char *at_preinit_3_expect = &quot;&quot;;
-                        char *at_preinit_4 = &quot;&quot;;
-                        char *at_preinit_4_expect = &quot;&quot;;
-                        char *at_preinit_5 = &quot;&quot;;
-                        char *at_preinit_5_expect = &quot;&quot;;
-                        char *at_postinit_1 = &quot;at+cmic=0,9&quot;;
-                        char *at_postinit_1_expect = &quot;OK&quot;;
-                        char *at_postinit_2 = &quot;AT+CKPD=\&quot;EEE\&quot;&quot;;
-                        char *at_postinit_2_expect = &quot;OK&quot;;
-                        char *at_postinit_3 = &quot;AT+CSSN=1,0&quot;;
-                        char *at_postinit_3_expect = &quot;OK&quot;;
-                        char *at_postinit_4 = &quot;at+sidet=0&quot;;
-                        char *at_postinit_4_expect = &quot;OK&quot;;
-                        char *at_postinit_5 = &quot;at+clvl=99&quot;;
-                        char *at_postinit_5_expect = &quot;OK&quot;;
-                        char *at_query_battchg = &quot;AT+CBC&quot;;
-                        char *at_query_battchg_expect = &quot;OK&quot;;
-                        char *at_query_signal = &quot;AT+CSQ&quot;;
-                        char *at_query_signal_expect = &quot;OK&quot;;
-                        char *at_call_idle = &quot;+MCST: 1&quot;;
-                        char *at_call_incoming = &quot;+MCST: 2&quot;;
-                        char *at_call_active = &quot;+CSSI: 7&quot;;
-                        char *at_call_failed = &quot;+MCST: 65&quot;;
-                        char *at_call_calling = &quot;+CSSI: 1&quot;;
-                        char *at_indicator_noservice_string = &quot;CIEV: 2;0&quot;;
-                        char *at_indicator_nosignal_string = &quot;CIEV: 5;0&quot;;
-                        char *at_indicator_lowsignal_string = &quot;CIEV: 5;1&quot;;
-                        char *at_indicator_lowbattchg_string = &quot;CIEV: 0;1&quot;;
-                        char *at_indicator_nobattchg_string = &quot;CIEV: 0;0&quot;;
-                        char *at_indicator_callactive_string = &quot;CIEV: 3;1&quot;;
-                        char *at_indicator_nocallactive_string = &quot;CIEV: 3;0&quot;;
-                        char *at_indicator_nocallsetup_string = &quot;CIEV: 6;0&quot;;
-                        char *at_indicator_callsetupincoming_string = &quot;CIEV: 6;1&quot;;
-                        char *at_indicator_callsetupoutgoing_string = &quot;CIEV: 6;2&quot;;
-                        char *at_indicator_callsetupremoteringing_string = &quot;CIEV: 6;3&quot;;
-                        //char *sms_receiving_program = &quot;/usr/local/bin/ciapalo&quot;;
-                        char *alsacname = &quot;plughw:1&quot;;
-                        char *alsapname = &quot;plughw:1&quot;;
-                        char *at_early_audio = &quot;0&quot;;
-                        char *at_after_preinit_pause = &quot;500000&quot;;
-                        char *at_initial_pause = &quot;500000&quot;;
-                        char *at_has_clcc = &quot;0&quot;;
-                        char *at_has_ecam = &quot;0&quot;;
-                        char *alsa_period_size = &quot;160&quot;;
-                        char *alsa_periods_in_buffer = &quot;4&quot;;
-                        char *gsmopen_sound_rate = &quot;8000&quot;;
-                        char *alsa_play_is_mono = &quot;1&quot;;
-                        char *alsa_capture_is_mono = &quot;1&quot;;
-                        char *capture_boost = &quot;5&quot;;
-                        char *playback_boost = &quot;10&quot;;
</del><ins>+                        const char *at_dial_pre_number = &quot;ATD&quot;;
+                        const char *at_dial_post_number = &quot;;&quot;;
+                        const char *at_dial_expect = &quot;OK&quot;;
+                        const char *at_hangup = &quot;ATH&quot;;
+                        const char *at_hangup_expect = &quot;OK&quot;;
+                        const char *at_answer = &quot;ATA&quot;;
+                        const char *at_answer_expect = &quot;OK&quot;;
+                        const char *at_send_dtmf = &quot;AT+VTS&quot;;
+                        const char *at_preinit_1 = &quot;&quot;;
+                        const char *at_preinit_1_expect = &quot;&quot;;
+                        const char *at_preinit_2 = &quot;&quot;;
+                        const char *at_preinit_2_expect = &quot;&quot;;
+                        const char *at_preinit_3 = &quot;&quot;;
+                        const char *at_preinit_3_expect = &quot;&quot;;
+                        const char *at_preinit_4 = &quot;&quot;;
+                        const char *at_preinit_4_expect = &quot;&quot;;
+                        const char *at_preinit_5 = &quot;&quot;;
+                        const char *at_preinit_5_expect = &quot;&quot;;
+                        const char *at_postinit_1 = &quot;at+cmic=0,9&quot;;
+                        const char *at_postinit_1_expect = &quot;OK&quot;;
+                        const char *at_postinit_2 = &quot;AT+CKPD=\&quot;EEE\&quot;&quot;;
+                        const char *at_postinit_2_expect = &quot;OK&quot;;
+                        const char *at_postinit_3 = &quot;AT+CSSN=1,0&quot;;
+                        const char *at_postinit_3_expect = &quot;OK&quot;;
+                        const char *at_postinit_4 = &quot;at+sidet=0&quot;;
+                        const char *at_postinit_4_expect = &quot;OK&quot;;
+                        const char *at_postinit_5 = &quot;at+clvl=99&quot;;
+                        const char *at_postinit_5_expect = &quot;OK&quot;;
+                        const char *at_query_battchg = &quot;AT+CBC&quot;;
+                        const char *at_query_battchg_expect = &quot;OK&quot;;
+                        const char *at_query_signal = &quot;AT+CSQ&quot;;
+                        const char *at_query_signal_expect = &quot;OK&quot;;
+                        const char *at_call_idle = &quot;+MCST: 1&quot;;
+                        const char *at_call_incoming = &quot;+MCST: 2&quot;;
+                        const char *at_call_active = &quot;+CSSI: 7&quot;;
+                        const char *at_call_failed = &quot;+MCST: 65&quot;;
+                        const char *at_call_calling = &quot;+CSSI: 1&quot;;
+                        const char *at_indicator_noservice_string = &quot;CIEV: 2;0&quot;;
+                        const char *at_indicator_nosignal_string = &quot;CIEV: 5;0&quot;;
+                        const char *at_indicator_lowsignal_string = &quot;CIEV: 5;1&quot;;
+                        const char *at_indicator_lowbattchg_string = &quot;CIEV: 0;1&quot;;
+                        const char *at_indicator_nobattchg_string = &quot;CIEV: 0;0&quot;;
+                        const char *at_indicator_callactive_string = &quot;CIEV: 3;1&quot;;
+                        const char *at_indicator_nocallactive_string = &quot;CIEV: 3;0&quot;;
+                        const char *at_indicator_nocallsetup_string = &quot;CIEV: 6;0&quot;;
+                        const char *at_indicator_callsetupincoming_string = &quot;CIEV: 6;1&quot;;
+                        const char *at_indicator_callsetupoutgoing_string = &quot;CIEV: 6;2&quot;;
+                        const char *at_indicator_callsetupremoteringing_string = &quot;CIEV: 6;3&quot;;
+                        //const char *sms_receiving_program = &quot;/usr/local/bin/ciapalo&quot;;
+                        const char *alsacname = &quot;plughw:1&quot;;
+                        const char *alsapname = &quot;plughw:1&quot;;
+                        const char *at_early_audio = &quot;0&quot;;
+                        const char *at_after_preinit_pause = &quot;500000&quot;;
+                        const char *at_initial_pause = &quot;500000&quot;;
+                        const char *at_has_clcc = &quot;0&quot;;
+                        const char *at_has_ecam = &quot;0&quot;;
+                        const char *alsa_period_size = &quot;160&quot;;
+                        const char *alsa_periods_in_buffer = &quot;4&quot;;
+                        const char *gsmopen_sound_rate = &quot;8000&quot;;
+                        const char *alsa_play_is_mono = &quot;1&quot;;
+                        const char *alsa_capture_is_mono = &quot;1&quot;;
+                        const char *capture_boost = &quot;5&quot;;
+                        const char *playback_boost = &quot;10&quot;;
</ins><span class="cx"> 
</span><span class="cx">                         uint32_t interface_id = 0;
</span><span class="cx">                         uint32_t controldevice_speed = B115200;        //FIXME TODO
</span><span class="lines">@@ -1615,8 +1615,8 @@
</span><span class="cx">                 return SWITCH_STATUS_FALSE;
</span><span class="cx"> 
</span><span class="cx">         }
</span><del>-                                gsmopen_store_boost(&quot;5&quot;, &amp;globals.GSMOPEN_INTERFACES[interface_id].capture_boost);        //FIXME
-                                gsmopen_store_boost(&quot;10&quot;, &amp;globals.GSMOPEN_INTERFACES[interface_id].playback_boost);        //FIXME
</del><ins>+                                gsmopen_store_boost((char *)&quot;5&quot;, &amp;globals.GSMOPEN_INTERFACES[interface_id].capture_boost);        //FIXME
+                                gsmopen_store_boost((char *)&quot;10&quot;, &amp;globals.GSMOPEN_INTERFACES[interface_id].playback_boost);        //FIXME
</ins><span class="cx"> 
</span><span class="cx">                                 switch_sleep(100000);
</span><span class="cx">                                 switch_threadattr_create(&amp;gsmopen_api_thread_attr, gsmopen_module_pool);
</span></span></pre>
</div>
</div>
<div id="footer">See you at ClueCon</div>

</body>
</html>