<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All About Telephony &#187; gammu SMS</title>
	<atom:link href="http://www.syednetworks.com/tag/gammu-sms/feed" rel="self" type="application/rss+xml" />
	<link>http://www.syednetworks.com</link>
	<description>VoIP and Telephony</description>
	<lastBuildDate>Wed, 08 Feb 2012 21:55:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Free SMS gateway</title>
		<link>http://www.syednetworks.com/free-sms-gateway-on-windows</link>
		<comments>http://www.syednetworks.com/free-sms-gateway-on-windows#comments</comments>
		<pubDate>Sat, 07 Feb 2009 23:20:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Free sms gateway]]></category>
		<category><![CDATA[Free sms]]></category>
		<category><![CDATA[free SMS from web]]></category>
		<category><![CDATA[gammu SMS]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[Nokia E65]]></category>
		<category><![CDATA[SEk70]]></category>
		<category><![CDATA[setting up sms gateway]]></category>
		<category><![CDATA[sms from windows]]></category>
		<category><![CDATA[Sony erricsson k70i]]></category>

		<guid isPermaLink="false">http://www.syednetworks.com/?p=178</guid>
		<description><![CDATA[Text message has widely usage via cell phone. In this article we will show you in steps that how we can setup SMS gateway using our cell phone. Once we are done then we will be able to send/recieve text message on the web. Here...]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><script type="text/javascript"><!--
google_ad_client = "pub-5441476791057559";
/* 336x280, created 5/27/08 */
google_ad_slot = "2308058417";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
Text message has widely usage via cell phone. In this article we will show you in steps that how we can setup SMS gateway using our cell phone. Once we are done then we will be able to send/recieve text message on the web.</p>
<p style="text-align: left;">Here is our initial requirement, what we need before setting up free SMS gateway:<span id="more-178"></span></p>
<p>1. A computer, we use the OS Windows XP. I use Win XP on laptop Byon Centrino Duo, 2G RAM.<br />
2. A gsm modem or mobile phone that can work as a gsm modem. I use Sony Ericsson K750i with the number IM3<br />
3. Cable or bluetooth connection to the HP computer. I&#8217;m using the cable that comes with SE K750i<br />
4. Driver mobile phone or PC suite; the author using the PC suite that is available in the sales package SE K750i<br />
5. A mobile phone to send sms; I&#8217;m using Motorolla W150i with a number Fren<br />
6. A software as a gateway. I use nowsms<br />
7. Apache, MySQL and PHP; I use appserv 2.5.7</p>
<p>The first step is to install appserv on our computer.</p>
<p>1. Test in the browser by typing http://localhost, is already showing? If already showing some webpage, means Webserver webserver is already setup.<br />
2. Type the test again next http://localhost/phpmyadmin. If it means that PHP is the way and MySQLnya already functioning well</p>
<p>Step two is to connect the phone to the computer. Do not forget to install the driver or HP&#8217;s PC Suite. Make sure the computer and HP already well connected.</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/sek70.jpg"><img class="aligncenter size-medium wp-image-171" title="sek70" src="http://www.syednetworks.com/wp-content/uploads/2009/02/sek70.jpg" alt="" width="232" height="112" /></a></p>
<p>Step three is to install NowSMS. File installer Now SMS / MMS gateway is comon 7.42 MB and can be easily downloaded in http://www.nowsms.com. Software is paid but we can try for free and full functionality for 60 days.</p>
<p>Once we install we will get interface like this:</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms1.jpg"><img class="aligncenter size-medium wp-image-168" title="nowsms1" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms1-179x300.jpg" alt="Now SMS" width="179" height="300" /></a></p>
<p>Four step is to add a modem gsm / HP :</p>
<p>1. click Add<br />
2. Select Phone or GSM modem and click OK</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms2.jpg"><img class="aligncenter size-medium wp-image-169" title="nowsms2" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms2-300x213.jpg" alt="" width="300" height="213" /></a></p>
<p>Select the modem and we fill pin, the SE default PIN is 1234. Click Test and add a modem. If any posts appear successful modem successfully tested!</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms3.jpg"><img class="aligncenter size-medium wp-image-172" title="nowsms3" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms3-300x213.jpg" alt="" width="300" height="213" /></a></p>
<p>Step five is to setting up SMSC connection:</p>
<p>1. Click on the menu at the top of the SMSC<br />
2. SMSC connection you select, these cases are added is the new Sony Ericsson 750 USB WMC Modem.<br />
I want to add other devices to stay a step to follow the four<br />
3. Click properties and fill in the phone number in the modem / HP SE K750i (in this case the number IM3)<br />
4. check receive SMS Messages</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms9.jpg"><img class="aligncenter size-medium wp-image-170" title="nowsms9" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms9-300x249.jpg" alt="" width="300" height="249" /></a></p>
<p>5. Click OK</p>
<p>Step six is to run the SMS gateway service:</p>
<p>1. Click Service in the menu on the nowsms program.<br />
2. Sms gateway then check run as a service.<br />
3. You will dimintai approval and nowsms will restart itself automatically to run as a service.<br />
following SMS picture which is now functioning as a service:</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms4.jpg"><img class="aligncenter size-medium wp-image-173" title="nowsms4" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms4-300x164.jpg" alt="" width="300" height="164" /></a></p>
<p>Step seven is to try to send sms through the web interface:</p>
<p>1. By default sms now running on the localhost or the ip address 127.0.0.1 with port 8800<br />
2. We open a browser and type the following address: http://localhost:8800<br />
3. interface will appear like this:</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms5.jpg"><img class="aligncenter size-medium wp-image-174" title="nowsms5" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms5-300x143.jpg" alt="" width="300" height="143" /></a></p>
<p>4. Fill Text and phone number and click submit<br />
5. Now you have sent the SMS to the recipient&#8217;s number</p>
<p>Are you satisfied now with this? I&#8217;m not though. Let us now connect the sms with PHP and MySQL. (But sorry, I make a cup of tea first with Samosa. Hungry &#8230;)</p>
<p>Now connect the sms / mms gateway with PHP and MySQL:</p>
<p>SMS will be sent later with the W150i phone that functions as an sms. HP and received K750i (gsm modem) is forwarded to the computer that received sms gateway sms now and then forwarded to the php script. PHP script and then proceed to save the MySQL database.</p>
<p>The first step is to create a database with the name mysql nowsms</p>
<p>1. http://localhost/phpmyadmin type in the browser to open phpmyadmin<br />
2. type the name of the database, here we paka name nowsms</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms6.jpg"><img class="aligncenter size-medium wp-image-175" title="nowsms6" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms6-300x143.jpg" alt="" width="300" height="143" /></a></p>
<p># And enter the sql code to create this table with the name of the inbox column consists of 2 ps and the contents</p>
<p>view plain print</p>
<p>1.<br />
2. CREATE TABLE `inbox` (<br />
3. `id` int (5) NOT NULL auto_increment,<br />
4. `content` text NOT NULL,</p>
<p>5. PRIMARY KEY ( `id`)<br />
6. ) Engine = MyISAM default charset = UTF8 AUTO_INCREMENT = 4;</p>
<p>CREATE TABLE `inbox` ( `id` int (5) NOT NULL auto_increment, `content` text NOT NULL, PRIMARY KEY ( `id`)) engine = MyISAM default charset = UTF8 AUTO_INCREMENT = 4;<br />
# Following data structures &#8230;. (sorry bgt simple to facilitate the understanding of &#8230;)</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms7.jpg"><img class="aligncenter size-medium wp-image-176" title="nowsms7" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms7-300x63.jpg" alt="" width="300" height="63" /></a></p>
<p>Step two is to create a PHP script which include sms to MySQL database</p>
<p>1. open windows explorer to create a new directory with the name nowsms<br />
2. What&#8217;s the author URL is C: AppServwwwnowsms</p>
<p><a href="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms8.jpg"><img class="aligncenter size-medium wp-image-177" title="nowsms8" src="http://www.syednetworks.com/wp-content/uploads/2009/02/nowsms8-300x247.jpg" alt="" width="300" height="247" /></a></p>
<p>3. and create a index.php file with the name of the contents as follows:<br />
view plain print<br />
1.<br />
2nd / / Database settings<br />
3. $ DB_Host = &#8220;localhost&#8221;;<br />
4. $ db_user = &#8220;root&#8221;;<br />
5. $ db_pass = &#8220;sipit&#8221;;<br />
6. $ db_name = &#8220;nowsms&#8221;;<br />
7.<br />
8. / / Connect to the database<br />
9. $ link = mysql_pconnect ($ DB_Host, $ db_user, $ db_pass) or die ( &#8220;I can connect&#8221;);<br />
10. mysql_select_db ($ db_name) or die ( &#8220;I can select the database&#8221;);<br />
11.<br />
12. / / Trim inputan. This also eliminates the problem does not<br />
13. $ content = trim ($ content);<br />
14.<br />
15. / / insert to table inbox<br />
16. $ sql = &#8220;INSERT INTO inbox<br />
17. SET id =&#8221;,<br />
18. content = &#8216;$ content&#8217; &#8220;;<br />
19. $ query = mysql_query ($ sql);<br />
20. ?&gt;</p>
<p>4. Complete (do not forget extensinya is *. php so if the notepad select save as typenya as all the files, and give the name of index.php)</p>
<p>step three is to set the settings in sms now</p>
<p>1. Select 2-Way in the top menu<br />
2nd Check process received sms message<br />
3. The contents of SMS command prefix with an asterisk * or Asterix or (*_*;)<br />
mean all sms will be processed. if you want to command a certain prefix please fill AFI for example (so that SMS will be processed with the AFI berawalan only)<br />
4. contents Receive Phone Number (s) as you fill in the SMSC connection earlier. (IM3 number in the GSM Modem / K750i)<br />
5. Execute the command with the contents: http://localhost/nowsms/index.php?isi = @ @ @ @ FULLSMS<br />
6. click ADD<br />
7. Click Apply<br />
8. Done<br />
<!-- google DISABLED--></p>

	Tags: <a href="http://www.syednetworks.com/tag/free-sms" title="Free sms" rel="tag">Free sms</a>, <a href="http://www.syednetworks.com/tag/free-sms-from-web" title="free SMS from web" rel="tag">free SMS from web</a>, <a href="http://www.syednetworks.com/tag/gammu-sms" title="gammu SMS" rel="tag">gammu SMS</a>, <a href="http://www.syednetworks.com/tag/nokia" title="nokia" rel="tag">nokia</a>, <a href="http://www.syednetworks.com/tag/nokia-e65" title="Nokia E65" rel="tag">Nokia E65</a>, <a href="http://www.syednetworks.com/tag/sek70" title="SEk70" rel="tag">SEk70</a>, <a href="http://www.syednetworks.com/tag/setting-up-sms-gateway" title="setting up sms gateway" rel="tag">setting up sms gateway</a>, <a href="http://www.syednetworks.com/tag/sms-from-windows" title="sms from windows" rel="tag">sms from windows</a>, <a href="http://www.syednetworks.com/tag/sony-erricsson-k70i" title="Sony erricsson k70i" rel="tag">Sony erricsson k70i</a><br />

	<h4>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://www.syednetworks.com/send-free-fax-from-your-computer" title="Send Free FAX From Your Computer (January 2, 2010)">Send Free FAX From Your Computer</a> (0)</li>
	<li><a href="http://www.syednetworks.com/nokia-supported-codecs" title="Nokia Supported Codecs (September 1, 2008)">Nokia Supported Codecs</a> (0)</li>
	<li><a href="http://www.syednetworks.com/windows-embedded-compact-7-for-tablet" title="Windows Embedded Compact 7 for Tablet (June 4, 2010)">Windows Embedded Compact 7 for Tablet</a> (0)</li>
	<li><a href="http://www.syednetworks.com/windows-7-for-your-nokia-phone" title="Windows 7 for your Nokia phone (December 15, 2009)">Windows 7 for your Nokia phone</a> (0)</li>
	<li><a href="http://www.syednetworks.com/use-sip-voip-on-ipod-touch-and-make-free-calls" title="Use SIP-VoIP on iPod touch and make free calls (July 26, 2009)">Use SIP-VoIP on iPod touch and make free calls</a> (1)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.syednetworks.com/free-sms-gateway-on-windows/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Opensourc SMS Gateway Using Gammu and MySQL</title>
		<link>http://www.syednetworks.com/opensourc-sms-gateway-using-gammu-and-mysql</link>
		<comments>http://www.syednetworks.com/opensourc-sms-gateway-using-gammu-and-mysql#comments</comments>
		<pubDate>Tue, 03 Oct 2006 17:27:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Gammu SMS Gateway]]></category>
		<category><![CDATA[fbus]]></category>
		<category><![CDATA[Gammu]]></category>
		<category><![CDATA[gammu SMS]]></category>
		<category><![CDATA[mobiles]]></category>
		<category><![CDATA[mysql gateway]]></category>
		<category><![CDATA[MySQL SMS]]></category>
		<category><![CDATA[Nokia 3310]]></category>
		<category><![CDATA[Siemens C35i]]></category>
		<category><![CDATA[smsdrc]]></category>
		<category><![CDATA[Symbian devices]]></category>
		<category><![CDATA[using gammu]]></category>

		<guid isPermaLink="false">http://www.syednetworks.com/?p=32</guid>
		<description><![CDATA[The applications of the SMS gateway can be searched and downloaded from the internet. You would be able to found a number of SMS gateway applications from the various platforms. One of them that will be discussed in this article is Gammu, As we are...]]></description>
			<content:encoded><![CDATA[<p><!--adsense#test2--></p>
<h2><img id="image33" src="http://www.syednetworks.com/wp-content/uploads/2006/10/gammu_sms1.thumbnail.jpg" alt="gammu_sms1.jpg" width="110" height="91" /> <img id="image31" src="http://www.syednetworks.com/wp-content/uploads/2006/10/gammu_sms.thumbnail.jpg" alt="gammu_sms.jpg" /> <img id="image34" src="http://www.syednetworks.com/wp-content/uploads/2006/10/gammu_mysql.thumbnail.jpg" alt="gammu_mysql.jpg" width="110" height="92" /><span style="font-size: 100%"></span></h2>
<p><span style="font-size: 100%"><span style="font-family: arial;">The applications of the SMS gateway can be searched and downloaded from the internet. You would be able to found a number of SMS gateway applications from the various platforms.</span></span></p>
<p><span style="font-family: arial;">One of them that will be discussed in this article is Gammu, As we are going to use Gammu application for sms gateway, because apart from we can download free also it’s easy to configure and can be use in both i.e. Windows and Linux. Another reason is to use Gammu is because MySQL can be used. But here we will discuss that how we can setup SMS gateway using Gammu with Linux.<span id="more-32"></span></span><br />
<span style="font-family: arial;">.</span><br />
<span style="font-family: arial;">The mobile phone that succeeded in being tried by me is Nokia 3310 and Siemens C35i using Linux platform.</span></p>
<p><span style="font-family: arial;">Before installation is done, first read information repeatedly about Gammu here:</span></p>
<p><span style="font-family: arial;">http://www.mwiacek.com/gsm/soft/gammu.html</span></p>
<p><span style="font-family: arial;">Have you gathered the information?</span><br />
<span style="font-family: arial;">OK.</span><br />
<span style="font-family: arial;">.</span><br />
<span style="font-family: arial;">Now let&#8217;s gather the requirement to develop the SMS Gateway using Gammu.</span></p>
<p><span style="font-family: arial;"><br />
<span style="font-family: arial;">Download Gammu.</span></span></p>
<p><span style="font-family: arial;">1. gammu.tar.gz </span><br />
<span style="font-family: arial;">Download the gammu package from: www.mwiacek.com/zips/gsm/gammu/gammu.tar.gz</span></p>
<p><span style="font-family: arial; color: #3366ff;"># wget www.mwiacek.com/zips/gsm/gammu/gammu.tar.gz</span></p>
<p><span style="font-family: arial;">2. Web Server (If you have webserver, don&#8217;t ignore this, if not yet then you must install first apache, myslq, php)</span></p>
<p><span style="font-family: arial;">3. The Nokia mobile phone 3310 or Siemens C35i. For other mobiles phone please read again:</span><br />
<a rel="nofollow"  href="http://www.mwiacek.com/gsm/soft/gammu.html"><br />
<span style="font-family: arial;">http://www.mwiacek.com/gsm/soft/gammu.html</span></a></p>
<p><span style="font-family: arial;">Gammu supports various types of the mobile phones. How come? look this: Gammu currently supports: majority of Nokia phones from DCT3 generation with Nokia operating system &#8211; for example Nokia 3210, 3310, 3315, 3410, 5110, 5130, 6110, 6510, 6610, 7210, 8310</span><br />
<script type="text/javascript"><!--
 google_ad_client = "pub-5441476791057559"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "78B749"; google_color_text = "000000"; google_color_url = "008000";
// --></script><script type="text/javascript"></script><span style="font-family: arial;">Many AT devices &#8211; for example many Siemens, Sony Ericsson, Nokia, Alcatel models, Alcatel from BE5/BF5/BH4 generation &#8211; for example 501, 511, 512, also some functions with OBEX and Symbian devices</span></p>
<p><span style="font-family: arial;">4. The Serial cable for the mobile phone</span><br />
<span style="font-family: arial;"><br />
<span style="font-family: arial;">If you have successfully downloaded gammu.tar.gz, please extract it:</span></span></p>
<p><span style="font-family: arial; color: #3366ff;">#tar xvfz gammu.tar.gz</span></p>
<p><span style="font-family: arial;">After extracted automatically you will find the folder gammu-1.08.00, now enter into the extracted folder.</span></p>
<p><span style="font-family: arial; color: #3366ff;">#cd gammu-1.08.00</span></p>
<p><span style="font-family: arial;">Before installation make a custom read README, INSTALL, etc.</span></p>
<p><span style="font-family: arial; color: #3366ff;">#. /configure</span></p>
<p><span style="font-family: arial; color: #3366ff;">#make</span></p>
<p><span style="font-family: arial;">Here must be paid attention by you whether being that error or not if the error occurs that means a significant library mysql you are still being more incomplete, usually an error that appear was found when MySql doesn&#8217;t support the gammu. (his installation process repeatedly try to find the mysql library which is needed) </span></p>
<p><span style="font-family: arial; color: #3366ff;">#make shared</span><br />
<span style="font-family: arial; color: #3366ff;">#make install</span><br />
<span style="font-family: arial; color: #3366ff;">#make installshared</span></p>
<p><span style="font-family: arial;">Further it’s necessary for you to upgrade the “library”</span></p>
<p><span style="font-family: arial; color: #3366ff;"># vi/etc/ld.so.conf</span><br />
<span style="font-family: arial;">Add the library link /usr/local/lib to file ld.so.conf, once you have done upgrade the library:</span></p>
<p><span style="font-family: arial; color: #3366ff;">#/sbin/ldconfig</span></p>
<p><span style="font-family: arial;">Note: If you did not find any error to this stage means you have successfully installed the Gammu sms Gateway.</span></p>
<p><span style="font-family: arial;">Now tried to enter again into the folder where you extracted gammu.tar.gz and copy the available files in folder /docs/example/config/* here you will find 3 files by the name of gammurc, mysql.sql, smsdrc and gammurc.</span></p>
<p><span style="font-family: arial;">Copy the gammurc and smsdrc into the /etc directory </span></p>
<p><span style="font-family: arial; color: #3366ff;">#cp gammurc smsdrc /etc/</span></p>
<p><span style="font-family: arial;">Further search edited file like this:</span></p>
<p><span style="font-family: arial; color: #000000;">[gammu]</span><br />
<span style="font-family: arial; color: #000000;">port = /dev/ttyS0 <span style="font-style: italic">#if you are using COM2 then substitute it with ttyS1</span></span><br />
<span style="font-family: arial; color: #000000;">#model = 6110 <span style="font-style: italic">#model of mobile phone was ignored by you, because it doesn&#8217;t need often to</span> mention the phone model.</span><br />
<span style="font-family: arial; color: #000000;">connection = fbus <span style="font-style: italic">#With Nokia mobile phone connection should be fbus if you used the</span> Siemens mobile phone then substitute the fbus with at19200 </span><br />
<span style="font-family: arial; color: #000000;">#synchronizetime = yes</span><br />
<span style="font-family: arial; color: #000000;">#logfile = gammulog</span><br />
<span style="font-family: arial; color: #000000;">#logformat = textall</span><br />
<span style="font-family: arial; color: #000000;">#use locking = yes</span><br />
<span style="font-family: arial; color: #000000;">#gammuloc = locfile</span><br />
<span style="font-family: arial; color: #000000;">#startinfo = yes</span><br />
<span style="font-family: arial; color: #000000;">#gammucoding = utf8</span><br />
<span style="font-family: arial; color: #000000;">#rsslevel = teststable<br />
#usephonedb = yes</span></p>
<p><span style="font-family: arial;">If you are still confused, inside the gammurc file it has the guidance available. If you are lazy to edit the file, then you can get the file from www.posmetropadang.com/gammu/gammurc</span></p>
<p><span style="font-family: arial;">Now confirm if the data cable and your mobile phone are connected to port COM1 to your computer, if everything is just fine, run the following command.</span></p>
<p><span style="font-family: arial; color: #3366ff;">#gammu –identify</span></p>
<p><span style="font-family: arial;">I hope you could see output as being supervised here:</span></p>
<p><span style="font-family: arial;">Manufacturer : Nokia</span><br />
<span style="font-family: arial;">Model : 3310 (NHM-5)</span><br />
<span style="font-family: arial;">Firmware : 06.33 F (28-11-03)</span><br />
<span style="font-family: arial;">Hardware : 1012</span><br />
<span style="font-family: arial;">IMEI : 350835608671298</span><br />
<span style="font-family: arial;">Original IMEI : 350835608671298</span><br />
<span style="font-family: arial;">Manufactured : 0802</span><br />
<span style="font-family: arial;">Product code : 0505201</span><br />
<span style="font-family: arial;">Simlock 1 : MCC+MNC 00101, opened, user , counter 0</span><br />
<span style="font-family: arial;">Simlock 2 : GID1 0000, opened, factory, counter 0</span><br />
<span style="font-family: arial;">Simlock 3 : GID2 0000, opened, factory, counter 0</span><br />
<span style="font-family: arial;">Simlock 4 : MSIN 0000000001, opened, factory, counter 0</span><br />
<span style="font-family: arial;">MSID : 830d50880846870ebedd126096</span><br />
<span style="font-family: arial;">MCU checksum : 9C79</span><br />
<span style="font-family: arial;">DSP ROM : 6</span></p>
<p><span style="font-family: arial;">If you got the connection info like above gammu means Gammu detected your mobile phone and now you can continue to the next step. </span></p>
<p><span style="font-family: arial;">Now let’s configure that how all the phone’s SMS’s will be kept by MySQL database to put forward on the webpage using php scripts.</span></p>
<p><span style="font-family: arial;">OK further bro… our work has almost finished, possibly have some coffee or cigarettes that could disrupted previously hehe…??</span></p>
<p><span style="font-family: arial;">Now try to open the file smsdrc that you copied earlier to directory /etc</span></p>
<p><span style="font-family: arial; color: #3366ff;">#vi /etc/smsdrc</span></p>
<p><span style="font-family: arial;">[smsd]</span><br />
<span style="font-family: arial;">PIN = 1234</span><br />
<span style="font-family: arial;">logfile = smsdlog</span><br />
<span style="font-family: arial;">commtimeout = 1</span><br />
<span style="font-family: arial;">sendtimeout = 10</span></p>
<p><span style="font-family: arial;">Search and edit the part that you configured in the mysql database:</span><br />
<!--adsense#google--><br />
<span style="font-family: arial;"># ————————- <span style="color: #3366ff;">SETTINGS FOR –smsd MYSQL</span> —————————</span><br />
<span style="font-family: arial;">user = root</span><br />
<span style="font-family: arial;">password = password_mysql_user</span><br />
<span style="font-family: arial;">pc = localhost</span><br />
<span style="font-family: arial;">database = Database_name</span></p>
<p><span style="font-family: arial;">Note: The above lines are to make connection with mysql database.</span></p>
<p><span style="font-family: arial;">Now enter to the directory /docs/example/config/ and get the file ‘mysql.Sql’, that is a table structure. Now put this file to the database that we are creating in the MySQL database for SMS gateway.</span></p>
<p><span style="font-family: arial;">For sms database</span><br />
<span style="font-family: arial; color: #3366ff;">#mysqladmin –u root –p create sms</span></p>
<p><span style="font-family: arial;">To create tables for gammu grab the file ‘mysql.sql’</span></p>
<p><span style="font-family: arial;"><span style="color: #3366ff;">#mysql –u root –p &lt;&gt;</span></span></p>
<p><span style="font-family: arial;">Or it can be easier for you if you make Gammu tables through phpadmin.</span></p>
<p><a rel="nofollow"  href="http://localhost/phpmyadmin"><span style="font-family: arial;">http://localhost/phpmyadmin</span></a></p>
<p><span style="font-family: arial;">Once you are finished, you can start the smsd deamon:</span></p>
<p><span style="font-family: arial; color: #3366ff;">#gammu –smsd MYSQL/etc/smsdrc</span></p>
<p><span style="font-family: arial;">The Log filename Is “smsdlog”</span><br />
<span style="font-family: arial;">Press Ctrl+C to stopped the program …</span></p>
<p><span style="font-family: arial;">After the issuing above command if output is like above means your SMS gateway is done successfully and you can use it according to your requirements. And all the available sms in your mobile phone will be entered inside the mysql database.</span></p>
<p><span style="font-family: arial;">For your further stage is to putting forward your SMS’s to the web which is using php scripts, The required php script can be downloaded from </span></p>
<p><a title="http://www.syednetworks.com/gammu-sms-gateway.zip" href="http://www.syednetworks.com/gammu-sms-gateway.zip"><span style="font-family: arial;">http://www.syednetworks.com/gammu-sms-gateway.zip</span></a></p>
<p><span style="font-family: arial;">You must edit the SMS database info in the sms.php file.<br />
If all goes well, now you can open the SMS’s through your favorite browser:</span></p>
<p><a rel="nofollow"  href="http://localhost/sms.php"><span style="font-family: arial;">http://localhost/sms.php</span></a></p>
<p><span style="font-family: arial;">Now what must be done by you??</span><br />
<span style="font-family: arial;">The smsd service deamon must be running to grab the SMS’s from the phone and you and you could see on the web.</span></p>
<p><span style="font-family: arial;">Create a Gammu startup script.sh and place it in the directory /usr/local/Bin/#cd/usr/local/bin/</span></p>
<p><span style="font-family: arial; color: #3366ff;">#vi gammu.sh</span></p>
<p><span style="font-family: arial;">File contents are as follows:</span><br />
<span style="font-family: arial;">#! /bin/sh</span><br />
<span style="font-family: arial;">export LANG=da</span><br />
<span style="font-family: arial;">DK</span><br />
<span style="font-family: arial;">/usr/local/bin/gam you –smsd MYSQL/etc/smsdrc</span></p>
<p><span style="font-family: arial;">After edited that file open /etc/inittab </span></p>
<p><span style="font-family: arial; color: #3366ff;">#vi /etc/inittab</span></p>
<p><span style="font-family: arial;">And add the below line in the inittab</span></p>
<p><span style="font-family: arial;">GA:345:respawn:/usr/local/bin/gammu.sh</span></p>
<p><span style="font-family: arial;">Wow… was long enough also, hmmm hopefully did not have the problem ya… now finished your coffee, until you finished developed the SMS Gateway by using Gammu.</span><br />
<span style="font-family: arial;">If you are having comments and questions, do not hesitate, just feel free to ask. </span></p>

	Tags: <a href="http://www.syednetworks.com/tag/fbus" title="fbus" rel="tag">fbus</a>, <a href="http://www.syednetworks.com/tag/gammu" title="Gammu" rel="tag">Gammu</a>, <a href="http://www.syednetworks.com/tag/gammu-sms" title="gammu SMS" rel="tag">gammu SMS</a>, <a href="http://www.syednetworks.com/tag/mobiles" title="mobiles" rel="tag">mobiles</a>, <a href="http://www.syednetworks.com/tag/mysql-gateway" title="mysql gateway" rel="tag">mysql gateway</a>, <a href="http://www.syednetworks.com/tag/mysql-sms" title="MySQL SMS" rel="tag">MySQL SMS</a>, <a href="http://www.syednetworks.com/tag/nokia-3310" title="Nokia 3310" rel="tag">Nokia 3310</a>, <a href="http://www.syednetworks.com/tag/siemens-c35i" title="Siemens C35i" rel="tag">Siemens C35i</a>, <a href="http://www.syednetworks.com/tag/smsdrc" title="smsdrc" rel="tag">smsdrc</a>, <a href="http://www.syednetworks.com/tag/symbian-devices" title="Symbian devices" rel="tag">Symbian devices</a>, <a href="http://www.syednetworks.com/tag/using-gammu" title="using gammu" rel="tag">using gammu</a><br />

	<h4>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://www.syednetworks.com/symbian-os" title="Symbian OS (November 12, 2009)">Symbian OS</a> (0)</li>
	<li><a href="http://www.syednetworks.com/nokia-voip-on-n-series-and-e-series" title="Nokia VoIP on N-series and E-series (February 15, 2009)">Nokia VoIP on N-series and E-series</a> (0)</li>
	<li><a href="http://www.syednetworks.com/nokia-n8-release-date" title="Nokia N8 release date (September 28, 2010)">Nokia N8 release date</a> (0)</li>
	<li><a href="http://www.syednetworks.com/nokia-3x10-secret-codes" title="Nokia 3&#215;10 Secret Codes (May 10, 2009)">Nokia 3&#215;10 Secret Codes</a> (0)</li>
	<li><a href="http://www.syednetworks.com/nokia-3310" title="Nokia 3310 Secret Codes (May 11, 2009)">Nokia 3310 Secret Codes</a> (0)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.syednetworks.com/opensourc-sms-gateway-using-gammu-and-mysql/feed</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>

