<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1669598314868454083</id><updated>2024-09-07T00:31:11.876+05:00</updated><category term="Asterisk"/><category term="Linux"/><category term="System"/><category term="Telecom"/><category term="mysql"/><category term="SS7"/><category term="SS7 Box"/><category term="VOIP"/><category term="qmail"/><category term="AGI"/><category term="Alcatel"/><category term="Alcatel 1000MM E10 Operations And Maintenance"/><category term="Audio"/><category term="Billing"/><category term="Books"/><category term="Emails"/><category term="FAQs"/><category term="Hardware"/><category term="IP PBX"/><category term="IVR"/><category term="Perl"/><category term="TrixBox"/><category term="database"/><category term="php"/><title type='text'>Expert Solutions</title><subtitle type='html'>This blog aim is to provide support to all It and Telecom related professional in the form of books,article,howtos etc.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-3687492276882934979</id><published>2011-08-10T00:05:00.000+05:00</published><updated>2011-08-10T00:05:16.290+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>Reset MySql Root Password</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;first stop mysql service and start mysql in safe mode using the following command&lt;br /&gt;
&lt;br /&gt;
service mysqld stop &lt;br /&gt;
mysqld_safe --skip-grant-tables &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now connetc to mysql using the following command&lt;br /&gt;
mysql&amp;nbsp; enter(return character) &lt;br /&gt;
&lt;br /&gt;
mysql&amp;gt; use mysql&lt;br /&gt;
mysql&amp;gt; update user set Password=PASSWORD(&#39;passw0rd&#39;) where user=&#39;root&#39;;&lt;br /&gt;
mysql&amp;gt; flush privileges;&lt;br /&gt;
mysql&amp;gt; exit;&lt;br /&gt;
&lt;br /&gt;
now password has be reset. kill mysqld_safe deamon and start mysql service using the following command&lt;br /&gt;
&lt;br /&gt;
service mysqld start&lt;br /&gt;
now you can enter to mysql console using the new password&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/3687492276882934979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/08/reset-mysql-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3687492276882934979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3687492276882934979'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/08/reset-mysql-root-password.html' title='Reset MySql Root Password'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-296825418495224112</id><published>2011-05-25T11:44:00.000+05:00</published><updated>2011-05-25T11:44:20.326+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>RAM DISK --- 2nd Porcedure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;you can create RAM disk or temporary file system using the following command&lt;br /&gt;
&lt;br /&gt;
mount -t tmpfs -o size=32M tmpfs /var/lib/asterisk/&lt;br /&gt;
&lt;br /&gt;
the above command will mount /var/lib/asterisk/ directory in the RAM and its size will be 32Mb.&lt;br /&gt;
&lt;br /&gt;
you normally use RAM disk for the applications that require intensive io operation. using ram disk will increase hardisk life and also increase performance of application by reducing access time.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/296825418495224112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/05/ram-disk-2nd-porcedure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/296825418495224112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/296825418495224112'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/05/ram-disk-2nd-porcedure.html' title='RAM DISK --- 2nd Porcedure'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-3158904375195977484</id><published>2011-01-30T21:15:00.000+05:00</published><updated>2011-01-30T21:15:02.943+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><title type='text'>MySQL PHP Exampler</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;pre class=&quot;php&quot;&gt;&lt;ol&gt;&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;a href=&quot;http://www.phpf1.com/manual/mysql_connect&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_connect&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;localhost&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;username&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;password&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; or &lt;a href=&quot;http://www.phpf1.com/manual/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.phpf1.com/manual/mysql_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;a href=&quot;http://www.phpf1.com/manual/mysql_select_db&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_select_db&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;test&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt; or &lt;a href=&quot;http://www.phpf1.com/manual/die&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;die&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;a href=&quot;http://www.phpf1.com/manual/mysql_error&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_error&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot; Step 1. Insert data&lt;hr /&gt;&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt; = &lt;span class=&quot;st0&quot;&gt;&quot;INSERT INTO users (name,city,web,age) VALUES (&#39;Tom&#39;,&#39;Vegas&#39;,&#39;www.tom.com&#39;,5)&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Data was inserted! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;An error occured during insert! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;SELECT * FROM users&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_fetch_assoc&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_fetch_assoc&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;ID: &quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Name:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;name&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;          .&lt;span class=&quot;st0&quot;&gt;&quot;, City:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;city&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Age:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;age&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot; &quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot; Step 2. Update data&lt;hr /&gt;&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt; = &lt;span class=&quot;st0&quot;&gt;&quot;UPDATE users SET age=45 WHERE name=&#39;Tom&#39;&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Data was updated! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;An error occured during update! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;SELECT * FROM users&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_fetch_assoc&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_fetch_assoc&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;ID: &quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Name:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;name&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;          .&lt;span class=&quot;st0&quot;&gt;&quot;, City:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;city&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Age:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;age&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot; &quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot; Step 3. Remove data&lt;hr /&gt;&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt; = &lt;span class=&quot;st0&quot;&gt;&quot;DELETE FROM users WHERE name=&#39;Tom&#39;&quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$sql&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;Data was removed! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;An error occured during remove! &quot;&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_query&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_query&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&quot;SELECT * FROM users&quot;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;;   &lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;kw1&quot;&gt;while&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt; = &lt;a href=&quot;http://www.phpf1.com/manual/mysql_fetch_assoc&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;mysql_fetch_assoc&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;br0&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;re0&quot;&gt;$result&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;      &lt;a href=&quot;http://www.phpf1.com/manual/echo&quot;&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;st0&quot;&gt;&quot;ID: &quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;id&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Name:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;name&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;          .&lt;span class=&quot;st0&quot;&gt;&quot;, City:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;city&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot;, Age:&quot;&lt;/span&gt;.&lt;span class=&quot;re0&quot;&gt;$row&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#39;age&#39;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;]&lt;/span&gt;.&lt;span class=&quot;st0&quot;&gt;&quot; &quot;&lt;/span&gt;;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;   &lt;span class=&quot;br0&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li2&quot;&gt;&lt;div class=&quot;de2&quot;&gt;&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li class=&quot;li1&quot;&gt;&lt;div class=&quot;de1&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/3158904375195977484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/mysql-php-exampler.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3158904375195977484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3158904375195977484'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/mysql-php-exampler.html' title='MySQL PHP Exampler'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-7450724290489447823</id><published>2011-01-29T01:54:00.000+05:00</published><updated>2011-01-29T01:54:33.940+05:00</updated><title type='text'>Asterisk Voice Prompts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;you can download asterisk voice prompts in different language using the following link.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://downloads.asterisk.org/pub/telephony/sounds/&quot;&gt;http://downloads.asterisk.org/pub/telephony/sounds/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/7450724290489447823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/asterisk-voice-prompts.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7450724290489447823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7450724290489447823'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/asterisk-voice-prompts.html' title='Asterisk Voice Prompts'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-6433251685447873542</id><published>2011-01-26T16:50:00.001+05:00</published><updated>2011-01-26T16:50:48.184+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><title type='text'>MsSQL dump to remote server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt; was running out of disk space on a server today. The server had a  large database table that was no longer used, so I wanted to archive it  and then drop the table. But the server didn’t have enough disk space to  dump it out to disk before copying it off to a remote server for  archiving. &lt;br /&gt;
The first thought was to run mysqldump dump on the destination  machine, and to access the database over the network. That however,  doesn’t compress or encrypt the data. Plus I would have had to create a  mysql user with permission to access the database remotely.&lt;br /&gt;
The solution I came up with worked out well: mysqldump directly to the remote host with this command:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
mysqldump  [mysqldump options] | gzip -c | ssh user@remotehost &quot;cat &amp;gt; /path/to/some-file.sql.gz&quot;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
That pipes the mysqldump command through gzip, then to through and SSH  connection. SSH on the remote side runs the ‘cat’ command to read the  stdin, then redirects that to the actual file where I want it saved.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/6433251685447873542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/mssql-dump-to-remote-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/6433251685447873542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/6433251685447873542'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/mssql-dump-to-remote-server.html' title='MsSQL dump to remote server'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-861441370628932271</id><published>2011-01-26T15:47:00.000+05:00</published><updated>2011-01-26T15:56:20.926+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Audio"/><category scheme="http://www.blogger.com/atom/ns#" term="IVR"/><title type='text'>Audio Format Converter For Asterisk</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://www.accelcomp.com/wp-content/uploads/wpsc/product_images/Asterisk_logo.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.accelcomp.com/wp-content/uploads/wpsc/product_images/Asterisk_logo.png&quot; /&gt;&lt;/a&gt;you can convert audio format for asterisk ivr from the following links.&lt;br /&gt;
&lt;br /&gt;
http://www.digium.com/en/products/ivr/audio-converter.php &lt;br /&gt;
&lt;br /&gt;
other option is to use imagic audio editor or sox&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/861441370628932271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/audio-format-converter-for-asterisk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/861441370628932271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/861441370628932271'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2011/01/audio-format-converter-for-asterisk.html' title='Audio Format Converter For Asterisk'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-4471775003945864736</id><published>2010-10-18T10:24:00.000+05:00</published><updated>2010-10-18T10:25:18.612+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="qmail"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>bash script for Qmail&amp;Vpopmail Uers Quota Refresh - Version 2</title><content type='html'>&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoPlainText&quot;&gt;#!/bin/sh&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;#&lt;b&gt;Author: Tanveer Hussain Khan(tanveerhk@hotmail.com)&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;#Function:Referesh User Quota for all user and domain for qmmail and vpopmail #output=$(/usr/local/bin/mysql --password=rootpassword --exec=&quot;select pw_name,pw_domain,pw_shell from vpopmaildb.vpopmail&quot;)&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;/bin/date&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;echo &quot;Going Referesh Quota For All Users &amp;amp; Domains&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;output=$(/usr/bin/mysql --exec=&quot;select pw_name,pw_domain,pw_shell from vpopmaildb.vpopmail&quot;)&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;array=$(echo $output | tr &quot; &quot; &quot;\n&quot;)&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;record=&quot;&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;x=0&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;for a in $array&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;do&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record[x]=$a&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;x+=1&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;done&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;let &quot;count=$x-1&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;for ((i=3;i&amp;lt;=$count;i+=3))&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;do&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;name=$i&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;domain=$i+1&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;quota=$i+2&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;Setting Quota To ${record[$quota]} For User ${record[$name]}@${record[$domain]}&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp; echo ${record[$name]}@${record[$domain]} ${record[$quota]}&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;#&amp;nbsp;&amp;nbsp; &amp;nbsp; echo &quot;/var/qmail/vpopmail/bin/vsetuserquota ${record[$name]}@${record[$domain]} ${record[$quota]}&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/qmail/vpopmail/bin/vsetuserquota ${record[$name]}@${record[$domain]} ${record[$quota]} done&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;/bin/date&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;echo &quot;Quota Refereshed For All Users &amp;amp; Domains&quot;&lt;/div&gt;&lt;div class=&quot;MsoPlainText&quot;&gt;echo &quot;***********************************************************&quot;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/4471775003945864736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/10/bash-script-for-qmail-uers-quota_17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/4471775003945864736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/4471775003945864736'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/10/bash-script-for-qmail-uers-quota_17.html' title='bash script for Qmail&amp;Vpopmail Uers Quota Refresh - Version 2'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2475920291481811161</id><published>2010-10-02T14:09:00.000+05:00</published><updated>2010-10-02T14:09:52.097+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="qmail"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>bash script for Qmail&amp;Vpopmail Uers Quota Refresh</title><content type='html'>#!/bin/sh&lt;br /&gt;
#Author: Tanveer Hussain Khan&lt;br /&gt;
#Function:Referesh User Quota for all user and domain for qmmail and vpopmail&lt;br /&gt;
#output=$(/usr/local/bin/mysql --password=rootpassword --exec=&quot;select pw_name,pw_domain,pw_shell from vpopmaildb.vpopmail&quot;)&lt;br /&gt;
output=$(/usr/bin/mysql --exec=&quot;select pw_name,pw_domain,pw_shell from vpopmaildb.vpopmail&quot;)&lt;br /&gt;
&lt;br /&gt;
array=$(echo $output | tr &quot; &quot; &quot;\n&quot;)&lt;br /&gt;
record=&quot;&quot;&lt;br /&gt;
x=0&lt;br /&gt;
for a in $array&lt;br /&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; record[x]=$a&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;x+=1&quot;&lt;br /&gt;
done&lt;br /&gt;
&lt;br /&gt;
let &quot;count=$x-1&quot;&lt;br /&gt;
echo $count&lt;br /&gt;
for ((i=3;i&amp;lt;=$count;i+=3))&lt;br /&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;name=$i&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;domain=$i+1&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; let &quot;quota=$i+2&quot;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;Setting Quota To ${record[$quota]} For User ${record[$name]}@${record[$domain]}&quot;&lt;br /&gt;
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo ${record[$name]}@${record[$domain]} ${record[$quota]}&lt;br /&gt;
#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; echo &quot;/var/qmail/vpopmail/bin/vsetuserquota ${record[$name]}@${record[$domain]} ${record[$quota]}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /var/qmail/vpopmail/bin/vsetuserquota ${record[$name]}@${record[$domain]} ${record[$quota]}&lt;br /&gt;
done</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2475920291481811161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/10/bash-script-for-qmail-uers-quota.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2475920291481811161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2475920291481811161'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/10/bash-script-for-qmail-uers-quota.html' title='bash script for Qmail&amp;Vpopmail Uers Quota Refresh'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-8437157109479948003</id><published>2010-06-08T13:14:00.000+05:00</published><updated>2010-06-08T13:14:53.593+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>Install Xwindow, KDE, GNOME, VNC using Yum</title><content type='html'>you can use yum groupinstall command to install these package at once. but for that you need a good internet connection. here is the complete command.&lt;br /&gt;
&lt;br /&gt;
yum -y groupinstall &quot;X Window System&quot; &quot;GNOME Desktop Environment&quot; &quot;KDE Desktop Environment&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
if you have internet connection then it a magic :-) command and will install all dependencies at one and you dont need much struggle to run the Graphical Desktop Environment(KDE/GNOME).</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/8437157109479948003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/06/install-xwindow-kde-gnome-vnc-using-yum.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8437157109479948003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8437157109479948003'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/06/install-xwindow-kde-gnome-vnc-using-yum.html' title='Install Xwindow, KDE, GNOME, VNC using Yum'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2428763445228065146</id><published>2010-05-31T01:47:00.000+05:00</published><updated>2010-05-31T01:47:20.995+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="TrixBox"/><category scheme="http://www.blogger.com/atom/ns#" term="VOIP"/><title type='text'>TrixBox Web Authentication</title><content type='html'>/etc/trixbox/httpdconf/trixbox.conf is the trixbox webauthentication file. its sample is given below you can modify it according to your requirement. it use htaccess method to restrict the contents.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cat&amp;nbsp; /etc/trixbox/httpdconf/trixbox.conf&lt;br /&gt;
#Password protect /var/www/html/admin&lt;br /&gt;
&lt;br /&gt;
&lt;directory admin=&quot;&quot; html=&quot;&quot; var=&quot;&quot; www=&quot;&quot;&gt;&lt;br /&gt;
AuthType Basic&lt;br /&gt;
AuthName &quot;Restricted Area&quot;&lt;br /&gt;
AuthUserFile /usr/local/apache/passwd/wwwpasswd&lt;br /&gt;
Require user wwwadmin maint&lt;/directory&gt;&lt;br /&gt;
&amp;nbsp;#Password protect /var/www/html/maint&lt;br /&gt;
&lt;directory html=&quot;&quot; maint=&quot;&quot; var=&quot;&quot; www=&quot;&quot;&gt;&lt;br /&gt;
AuthType Basic&lt;br /&gt;
AuthName &quot;Restricted Area&quot;&lt;br /&gt;
AuthUserFile /usr/local/apache/passwd/wwwpasswd&lt;br /&gt;
Require user maint&lt;/directory&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;directory html=&quot;&quot; var=&quot;&quot; www=&quot;&quot;&gt;&lt;br /&gt;
AllowOverride All&lt;/directory&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2428763445228065146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/trixbox-web-authentication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2428763445228065146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2428763445228065146'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/trixbox-web-authentication.html' title='TrixBox Web Authentication'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-7376629517577503034</id><published>2010-05-26T19:04:00.000+05:00</published><updated>2010-05-26T19:06:26.621+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="System"/><title type='text'>RAM Disk Creation &amp; Mount</title><content type='html'>What Is RAM Disk? RAM disk is the portion for ram which acts as the hard disk. For that we allocate some portion for ram and then mount it. below are the configurations tested on CentOS 5.2&lt;br /&gt;
&lt;br /&gt;
You can configure and mount RAM Disk using the following procedure.&lt;br /&gt;
&lt;br /&gt;
1. In /etc/grub.conf add the option that is highlited in the below kernel line.&lt;br /&gt;
&lt;br /&gt;
title CentOS (2.6.18-164.el5PAE)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root (hd0,0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kernel /vmlinuz-2.6.18-164.el5PAE ro root=LABEL=/ rhgb &lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;quiet ramdisk_size=524288&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; initrd /initrd-2.6.18-164.el5PAE.img&lt;br /&gt;
&lt;br /&gt;
2. now edit the /etc/rc.d/rc.local and put the below line &lt;br /&gt;
####### RAM DISK #######################&lt;br /&gt;
mkfs -t ext3 /dev/ram0 # it will formate the ramdisk&lt;br /&gt;
mount -t ext3 /dev/ram0 /var/spool/asterisk/monitor # it will mount ramdisk to mount point /var/spool/asterisk/monitor</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/7376629517577503034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/ram-disk-creation-mount.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7376629517577503034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7376629517577503034'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/ram-disk-creation-mount.html' title='RAM Disk Creation &amp; Mount'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-3098488996740614771</id><published>2010-05-19T01:27:00.000+05:00</published><updated>2010-05-19T01:34:41.600+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AGI"/><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Perl"/><title type='text'>Asterisk Perl AGI</title><content type='html'>Below is the sample AGI scrip written in per perl.&lt;br /&gt;
In This Script You will learn the following&lt;br /&gt;
1. How to write AGI concept.&lt;br /&gt;
2. Some Perl Programming.(Variables, Arithmetic Operator, IF/ELSE/ELSIF , comparision operators, Labels etc.&lt;br /&gt;
3. How to use mysql queries in AGI using perl.&lt;br /&gt;
4. Asterisk Application Used( NoOp, SayDigits, SayNumber, Channel Variables, SayUnixTimeStamp etc)&lt;br /&gt;
&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
# MODULE&lt;br /&gt;
use Time::Local;&lt;br /&gt;
use Asterisk::AGI;&lt;br /&gt;
use Mysql;&lt;br /&gt;
&lt;br /&gt;
# CONFIG VARIABLES&lt;br /&gt;
$host = &quot;localhost&quot;;&lt;br /&gt;
$database = &quot;testdb&quot;;&lt;br /&gt;
$user = &quot;root&quot;;&lt;br /&gt;
$pw = &quot;JustForFun&quot;;&lt;br /&gt;
&lt;br /&gt;
# MYSQL CONNECT&lt;br /&gt;
$connect = Mysql-&amp;gt;connect($host, $database, $user, $pw);&lt;br /&gt;
&lt;br /&gt;
# SELECT A DATABASE&lt;br /&gt;
$connect-&amp;gt;selectdb($database);&lt;br /&gt;
&lt;br /&gt;
# create agi instance&lt;br /&gt;
$AGI = new Asterisk::AGI;&lt;br /&gt;
&lt;br /&gt;
$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;\----OnlineInquirySystem----\&quot;&quot;);&lt;br /&gt;
$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-thankyou&quot;);&lt;br /&gt;
Repeapt1:&lt;br /&gt;
$AGI-&amp;gt;exec(&quot;Read&quot;,&quot;\option,custom/inquiry-tocheck,1,,,\&quot;&quot;);&lt;br /&gt;
$option = $AGI-&amp;gt;get_variable(option);&lt;br /&gt;
&lt;br /&gt;
if ($option == 1 or $option == 2)&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;EnterCheque:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Read&quot;,&quot;cheque,custom/inquiry-pleaseenter,15,,,&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$cheque = $AGI-&amp;gt;get_variable(cheque);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;AfterCheque:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**$cheque**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if (length($cheque) == 10)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-waitforinformation&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$query=&quot;Select evttype_fk, issue_dtt,amount,inst_pk from lpsinst where check_no=&#39;$cheque&#39;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;@results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;=====================================&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**$results[0]**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;=====================================&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($results[0] &amp;gt; 0)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**CheckFound**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$evttype=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issuedtt=$results[1];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$amount=$results[2];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$inst_pk=$results[3];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issueyear=substr $issuedtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issuemonth=substr $issuedtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issueday=substr $issuedtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issuehour=substr $issuedtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issueminute=substr $issuedtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issuesecond=substr $issuedtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issueyear-$issuemonth-$issueday-$issuehour:$issueminute:$issuesecond&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$issueutc=timelocal($issuesecond,$issueminute,$issuehour,$issueday,$issuemonth,$issueyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issueutc&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$bfd=length($amount) - 3;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $afd= $bfd + 1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $dollars=substr $amount,0,$bfd;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $cents=substr $amount,$afd,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;D-$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;C-$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($evttype == 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;PlayBack&quot;,&quot;custom/inquiry-nofurtherinfo&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;SecondOption:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Read&quot;,&quot;\option,custom/inquiry-tocheck-2,1,,,\&quot;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $option = $AGI-&amp;gt;get_variable(option);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($option == 1 or $option == 2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto Repeapt1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif ($option == 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto TalkToSupport;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif($option == 4)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif($option == 5)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;EndCall:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-thankforcalling&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto END;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-invalidoption&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif ($evttype == 4)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$query=&quot;select evt_dtt from lpshistory where inst_fk=&#39;$inst_pk&#39; and evttype_fk=4&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;@results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtdtt=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$evtyear=substr $evtdtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtmonth=substr $evtdtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtday=substr $evtdtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evthour=substr $evtdtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$evtminute=substr $evtdtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtsecond=substr $evtdtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$evtsecond-$evtminute-$evthour-$evtday-$evtmonth-$evtyear&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtutc=timelocal($evtsecond,$evtminute,$evthour,$evtday,$evtmonth,$evtyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasvoidedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$evtutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif ($evttype == 5)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $query=&quot;select evt_dtt from lpshistory where inst_fk=&#39;$inst_pk&#39; and evttype_fk=5&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtdtt=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtyear=substr $evtdtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtmonth=substr $evtdtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtday=substr $evtdtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evthour=substr $evtdtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtminute=substr $evtdtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtsecond=substr $evtdtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$evtsecond-$evtminute-$evthour-$evtday-$evtmonth-$evtyear&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtutc=timelocal($evtsecond,$evtminute,$evthour,$evtday,$evtmonth,$evtyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasredeemedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$evtutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } elsif ($evttype == 6)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$query=&quot;select evt_dtt from lpshistory where inst_fk=&#39;$inst_pk&#39; and evttype_fk=6&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtdtt=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtyear=substr $evtdtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtmonth=substr $evtdtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtday=substr $evtdtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evthour=substr $evtdtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtminute=substr $evtdtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtsecond=substr $evtdtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$evtsecond-$evtminute-$evthour-$evtday-$evtmonth-$evtyear&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtutc=timelocal($evtsecond,$evtminute,$evthour,$evtday,$evtmonth,$evtyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasstopedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$evtutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } elsif ($evttype == 7)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$query=&quot;select evt_dtt from lpshistory where inst_fk=&#39;$inst_pk&#39; and evttype_fk=7&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtdtt=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtyear=substr $evtdtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtmonth=substr $evtdtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtday=substr $evtdtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evthour=substr $evtdtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtminute=substr $evtdtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtsecond=substr $evtdtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$evtsecond-$evtminute-$evthour-$evtday-$evtmonth-$evtyear&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtutc=timelocal($evtsecond,$evtminute,$evthour,$evtday,$evtmonth,$evtyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasstopedandvoidedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$evtutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } elsif ($evttype == 11 or $evttype == 12)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$query=&quot;select evt_dtt from lpshistory where inst_fk=&#39;$inst_pk&#39; and evttype_fk=11 or evttype_fk=12&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $execute= $connect-&amp;gt;query($query);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @results=$execute-&amp;gt;fetchrow();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtdtt=$results[0];&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtyear=substr $evtdtt,0,4;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtmonth=substr $evtdtt,5,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtday=substr $evtdtt,8,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evthour=substr $evtdtt,11,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtminute=substr $evtdtt,14,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtsecond=substr $evtdtt,17,2;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$issuedtt&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;$evtsecond-$evtminute-$evthour-$evtday-$evtmonth-$evtyear&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $evtutc=timelocal($evtsecond,$evtminute,$evthour,$evtday,$evtmonth,$evtyear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasissuedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$issueutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-amountof&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;dollars&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayNumber&quot;,&quot;$cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;cents&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-wasescheatedon&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayUnixTime&quot;,&quot;$evtutc,CET,BdY&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto SecondOption;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**$cheque**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;NoValidStatus:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Read&quot;,&quot;\option,custom/inquiry-wasnotfoundtry,1,,,\&quot;&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$option = $AGI-&amp;gt;get_variable(option);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($option == 1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto EnterCheque;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif ($option == 2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto TalkToSupport;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&amp;nbsp; elsif ($option == 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto EndCall;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-invalidoption&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto&amp;nbsp; NoValidStatus;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;} else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**====CheckNotFound====**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-chequenumber&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;SayDigits&quot;,&quot;$cheque&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;NoOP&quot;,&quot;**$cheque**&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RepeatNotFound:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Read&quot;,&quot;option,custom/inquiry-wasnotfoundtry,1,,,&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $option = $AGI-&amp;gt;get_variable(option);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($option == 1)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto EnterCheque;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } elsif ($option == 2)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto TalkToSupport;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp; elsif ($option == 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto EndCall;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-invalidoption&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto&amp;nbsp; RepeatNotFound;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;} else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Read&quot;,&quot;cheque,custom/inquiry-rentercheque,15,,,&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$cheque = $AGI-&amp;gt;get_variable(cheque);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;goto AfterCheque;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
} elsif ($option == 3)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;TalkToSupport:&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-pleasehold&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;goto END;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;} elsif ($option == 4)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto Repeapt1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;} else&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$AGI-&amp;gt;exec(&quot;Playback&quot;,&quot;custom/inquiry-invalidoption&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;goto Repeapt1;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
END:</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/3098488996740614771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/asterisk-perl-agi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3098488996740614771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/3098488996740614771'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/05/asterisk-perl-agi.html' title='Asterisk Perl AGI'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2822128388824390831</id><published>2010-02-25T13:36:00.000+05:00</published><updated>2010-02-25T13:36:31.867+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Alcatel 1000MM E10 Operations And Maintenance"/><title type='text'>Alcatel 1000MM E10 Operations &amp; Maintenance</title><content type='html'>We will discuss Alcatel Daily Operation &amp;amp; Maintenence Here.&lt;br /&gt;
Comming Soon.........................................................................</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2822128388824390831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/alcatel-1000mm-e10-operations.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2822128388824390831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2822128388824390831'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/alcatel-1000mm-e10-operations.html' title='Alcatel 1000MM E10 Operations &amp; Maintenance'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2419796036455312673</id><published>2010-02-25T13:30:00.000+05:00</published><updated>2010-02-25T13:41:27.459+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Emails"/><category scheme="http://www.blogger.com/atom/ns#" term="FAQs"/><title type='text'>Emails and Their Replies</title><content type='html'>&lt;div style=&quot;margin: 0pt 0pt 4px;&quot;&gt;&lt;b&gt;shaukat ali&lt;/b&gt; has sent you a message.&lt;/div&gt;&lt;div style=&quot;margin: 0pt 0pt 4px;&quot;&gt;&lt;b&gt;Date:&lt;/b&gt;   2/24/2010 &lt;/div&gt;&lt;div style=&quot;margin: 0pt 0pt 4px;&quot;&gt;&lt;b&gt;Subject:&lt;/b&gt;   RE: Solutions/Help/HowTos On Asterisk/Billing/Telecom/IT/System Related Issues &lt;/div&gt;&lt;div style=&quot;margin: 0pt 0pt 4px;&quot;&gt;Daer Tanveer:&lt;br /&gt;
This is the issue.The provider in Pakistan do not allow this.Thank you any way.&lt;br /&gt;
shaukat&lt;br /&gt;
-------------------------------------------------------------------&lt;br /&gt;
On 02/24/10 12:45 PM, Tanveer Hussain Khan wrote:&lt;br /&gt;
--------------------&lt;br /&gt;
Dear Shaukat Ali,&lt;br /&gt;
&lt;br /&gt;
thanks for writing me.you can change cli in asterisk by changing the CALLERID variable but for this you should have the privileges from you pri provider. most provide does not allow that. if you change/off cli, they will send your PRI master number to the called party.&lt;br /&gt;
---------------------------------------------------------------------&lt;br /&gt;
On 02/24/10 12:03 AM, shaukat ali wrote:&lt;br /&gt;
--------------------&lt;br /&gt;
how to control/change/off  cli on ISDN PRI card from Asterisk while it is on in central office &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2419796036455312673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/emails-and-their-replies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2419796036455312673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2419796036455312673'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/emails-and-their-replies.html' title='Emails and Their Replies'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-8211791486448860331</id><published>2010-02-20T13:32:00.000+05:00</published><updated>2010-02-21T02:32:08.952+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Alcatel"/><category scheme="http://www.blogger.com/atom/ns#" term="Telecom"/><title type='text'>Alcatel 1000 MM E10</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT32rlBkVX9sx0EnZTGsNaqJCPNI918-eqsEvBmY66GUdMGfDE6qw-4giP9bMHHMMcPiRd-ghKRlRfIBJHVlPJrpfFq4msYzffulyd8D554CG3w2sdLaj3Zh3PCz3XVK7b9JeT4g2HzuU/s1600-h/alcatel_s12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT32rlBkVX9sx0EnZTGsNaqJCPNI918-eqsEvBmY66GUdMGfDE6qw-4giP9bMHHMMcPiRd-ghKRlRfIBJHVlPJrpfFq4msYzffulyd8D554CG3w2sdLaj3Zh3PCz3XVK7b9JeT4g2HzuU/s200/alcatel_s12.jpg&quot; width=&quot;167&quot; /&gt;&lt;/a&gt;Alcatel 1000 MM E10 is a Next Generation Telecom Switch. The Alcatel 1000 MM E10 with MGC has been specifically designed to address the migration strategy of established service providers (ESPs) currently running Alcatel 1000 E10-based networks. With the MGC operators can handle simultaneously TDM and next generation network (NGN) traffic.&lt;br /&gt;
&lt;br /&gt;
&lt;span id=&quot;ctl03_lblContent&quot;&gt;&lt;b&gt;&lt;i&gt;Technical specifications:&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;i&gt;Multi-service&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;span id=&quot;ctl03_lblContent&quot;&gt;&lt;br /&gt;
- One  equipment able to perform all functions&lt;br /&gt;
- Fixed or mobile, local or  transit&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Modular and scalable&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
- Applicable to both capacity  and functions&lt;br /&gt;
&lt;i&gt;Compatibility&lt;/i&gt;&lt;br /&gt;
- Hardware and software evolving  independently&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Quality of service&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
- Same level of service for  voice over circuit (PSTN) or voice over packet&lt;br /&gt;
&lt;i&gt;Service guarantee&lt;/i&gt;&lt;br /&gt;
-  Preserving the revenue generated by carrier grade services like  IN&lt;br /&gt;
&lt;b&gt;S&lt;i&gt;ervice enhancemen&lt;/i&gt;&lt;/b&gt;&lt;i&gt;t&lt;/i&gt;&lt;br /&gt;
- Packet capacity enabling  future services&lt;br /&gt;
&lt;i&gt;Billing&lt;/i&gt;&lt;br /&gt;
- Facilitated billing through the  generation of CDRs for any type of communications - circuit or  packet&lt;br /&gt;
I&lt;i&gt;nteroperability&lt;/i&gt;&lt;br /&gt;
- Guaranteeing interoperability between  national and international data networks&lt;br /&gt;
&lt;i&gt;High capacity&lt;/i&gt;&lt;br /&gt;
- Integrated  high capacity terminations such as SDH STM1.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/8211791486448860331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/alcatel-1000-mm-e10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8211791486448860331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8211791486448860331'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/alcatel-1000-mm-e10.html' title='Alcatel 1000 MM E10'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT32rlBkVX9sx0EnZTGsNaqJCPNI918-eqsEvBmY66GUdMGfDE6qw-4giP9bMHHMMcPiRd-ghKRlRfIBJHVlPJrpfFq4msYzffulyd8D554CG3w2sdLaj3Zh3PCz3XVK7b9JeT4g2HzuU/s72-c/alcatel_s12.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2973035629180031673</id><published>2010-02-20T00:59:00.000+05:00</published><updated>2010-02-20T01:02:26.365+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="IP PBX"/><category scheme="http://www.blogger.com/atom/ns#" term="SS7"/><title type='text'>SS7 BOX Software Installation</title><content type='html'>1. Install CentOS-5.4 Operating System on the system.&lt;br /&gt;
2. download source of asterisk,dahdi,libpri,asterisk-adons from www.asterisk.org&lt;br /&gt;
3. untar the sources one by one.&lt;br /&gt;
4. compile and install the sources one by one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for compilation and installation go to each source directory and run the following command&lt;br /&gt;
1-&amp;nbsp; ./configure&lt;br /&gt;
2-&amp;nbsp; make&lt;br /&gt;
3-&amp;nbsp; make install&lt;br /&gt;
4-&amp;nbsp; follow on screen instructions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
in next chapter will will configure it as a IP PBX with single PRI card and then in next chapter will configure this is SS7 Box/ Signalling Gateway</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2973035629180031673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/ss7-box-software-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2973035629180031673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2973035629180031673'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/ss7-box-software-installation.html' title='SS7 BOX Software Installation'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-1158381442168828897</id><published>2010-02-18T09:53:00.000+05:00</published><updated>2010-02-18T14:33:01.459+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Hardware"/><category scheme="http://www.blogger.com/atom/ns#" term="SS7"/><category scheme="http://www.blogger.com/atom/ns#" term="SS7 Box"/><category scheme="http://www.blogger.com/atom/ns#" term="Telecom"/><title type='text'>SS7 BOX Hardware and Price</title><content type='html'>1. Intel ATOM Dual Core .................6500&lt;br /&gt;
2. RAM 512 MB.................................1300&lt;br /&gt;
3. USB Stick(Kinston 8-GB).................850&lt;br /&gt;
4. Casing (Mini ATX).........................1880&lt;br /&gt;
-----------------------------------------------------------------------------&lt;br /&gt;
Total.................................................10530 PKR&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
Digiup TE100P Card........................45000&lt;br /&gt;
------------------------------------------------------------------------------&lt;br /&gt;
Grand Total......................................55530 PRK &lt;br /&gt;
------------------------------------------------------------------------------ &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Operating System.............................CentOS 5.4</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/1158381442168828897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/ss7-box-hardware-and-price.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/1158381442168828897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/1158381442168828897'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/ss7-box-hardware-and-price.html' title='SS7 BOX Hardware and Price'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-8999849456312669225</id><published>2010-02-18T02:19:00.000+05:00</published><updated>2010-02-21T23:21:19.918+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="SS7 Box"/><category scheme="http://www.blogger.com/atom/ns#" term="Telecom"/><title type='text'>What is SS7 BOX</title><content type='html'>SS7 Box is a computer running Linux OS(CentOS-5.4) and Asterisk from 4GB usb, on intel ATOM process with TE100p Digium Single PRI Card. this is realy low cost ss7 box / Signalling Gateway. It will cost you about 60K PKR. i will discuss its complete hardware and software configuration and installation process in my later posts. This can also be use as IP PBX with a single pri card. guys it would be a great box with low cost and enriched featured. Comming Soon...............</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/8999849456312669225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/what-is-ss7-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8999849456312669225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8999849456312669225'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2010/02/what-is-ss7-box.html' title='What is SS7 BOX'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-8494192988740302053</id><published>2009-11-25T13:09:00.000+05:00</published><updated>2009-11-25T13:09:04.171+05:00</updated><title type='text'>A2Billing Installation</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipElfRwsG_zF3RZ6uzjy8PZoyW8dPCzzlEBn_epSOQzHgEQ-Otg_ts3vJ6_HokqDWkoW0D2x84-O-2YFlUZPlN5S02LVWMi6RLoYpB_pAFavlkm0iYiYF_Ow1m0RAjRixk3b78dqRPhdc/s1600/logoA2B_tn.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipElfRwsG_zF3RZ6uzjy8PZoyW8dPCzzlEBn_epSOQzHgEQ-Otg_ts3vJ6_HokqDWkoW0D2x84-O-2YFlUZPlN5S02LVWMi6RLoYpB_pAFavlkm0iYiYF_Ow1m0RAjRixk3b78dqRPhdc/s320/logoA2B_tn.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Step 1)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
mkdir /usr/local/src/a2billing&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 2)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/src/a2billing&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 3)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
yum -y install perl-DBD-Pg subversion&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 4)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
svn co --username guest --password guest &lt;!-- m --&gt;&lt;a class=&quot;postlink&quot; href=&quot;http://svn.a2billing.net/svn/asterisk2billing/trunk/&quot;&gt;http://svn.a2billing.net/svn/asterisk2billing/trunk/&lt;/a&gt;&lt;!-- m --&gt; /usr/local/src/a2billing&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 5)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
cp a2billing.conf /etc/a2billing.conf&lt;br /&gt;
ln /etc/a2billing.conf /etc/asterisk/a2billing.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 6)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p &amp;lt; DataBase/mysql-5.x/a2billing-createdb-user.sql&lt;br /&gt;
pass=passw0rd (ziro)&lt;br /&gt;
*Database name is: mya2billing&lt;br /&gt;
*Database user is: a2billinguser&lt;br /&gt;
*User password is: a2billing&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 7)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p mya2billing &amp;lt; DataBase/mysql-5.x/a2billing-schema-v1.4.0.sql&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step &lt;img alt=&quot;8)&quot; src=&quot;http://forum.asterisk2billing.org/images/smilies/icon_cool.gif&quot; title=&quot;Cool&quot; /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
mysql -u root -p mya2billing &amp;lt; DataBase/mysql-5.x/UPDATE-a2billing-v1.4.0-to-v1.4.1.sql&lt;br /&gt;
mysql -u root -p mya2billing &amp;lt; DataBase/mysql-5.x/UPDATE-a2billing-v1.4.1-to-v1.4.2.sql&lt;br /&gt;
mysql -u root -p mya2billing &amp;lt; DataBase/mysql-5.x/UPDATE-a2billing-v1.4.2-to-v1.4.3.sql&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 9)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
vi /etc/a2billing.conf&lt;br /&gt;
&lt;br /&gt;
[database]&lt;br /&gt;
hostname = localhost&lt;br /&gt;
; port for postgres is 5432 by default&lt;br /&gt;
port = 3306&lt;br /&gt;
user = a2billinguser&lt;br /&gt;
password = a2billing&lt;br /&gt;
dbname = mya2billing&lt;br /&gt;
; dbtype setting can either be mysql or postgres&lt;br /&gt;
dbtype = mysql&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 10)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chmod 775 /etc/asterisk&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 11)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /etc/asterisk/additional_a2billing_iax.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 12)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /etc/asterisk/additional_a2billing_sip.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 13)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
echo \#include additional_a2billing_sip.conf &amp;gt;&amp;gt; /etc/asterisk/sip_custom.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 14)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
echo \#include additional_a2billing_iax.conf &amp;gt;&amp;gt; /etc/asterisk/iax_custom.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 15)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -Rf asterisk:asterisk /etc/asterisk/additional_a2billing_iax.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 16)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -Rf asterisk:asterisk /etc/asterisk/additional_a2billing_sip.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 17)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
ln -s /usr/local/src/a2billing/AGI/a2billing.php /var/lib/asterisk/agi-bin/a2billing.php&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 18)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown asterisk:asterisk /var/lib/asterisk/agi-bin/a2billing.php&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 19)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chmod +x /var/lib/asterisk/agi-bin/a2billing.php&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 20)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
cd /usr/local/src/a2billing/addons/sounds&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 21)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
./install_a2b_sounds.sh&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 22)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /var/lib/asterisk/&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 23)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
vi /etc/asterisk/manager_custom.conf&lt;br /&gt;
[myasterisk]&lt;br /&gt;
secret = mycode&lt;br /&gt;
deny=0.0.0.0/0.0.0.0&lt;br /&gt;
permit=127.0.0.1/255.255.255.0&lt;br /&gt;
read = system,call,log,verbose,command,agent,user&lt;br /&gt;
write = system,call,log,verbose,command,agent,user&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 24)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
mkdir /var/www/html/a2billing&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 25)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
ln -s /usr/local/src/a2billing/common /var/www/html/a2billing/common&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 26)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
ln -s /usr/local/src/a2billing/admin /var/www/html/a2billing/admin&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 27)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
ln -s /usr/local/src/a2billing/agent /var/www/html/a2billing/agent&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 28)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
ln -s /usr/local/src/a2billing/customer /var/www/html/a2billing/customer&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 29)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /var/www/html/a2billing/&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 30)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /usr/local/src/a2billing/common&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 31)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /usr/local/src/a2billing/admin&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 32)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /usr/local/src/a2billing/customer&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 33)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
chown -R asterisk:asterisk /usr/local/src/a2billing/agent&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 34)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
vi /etc/crontab&lt;br /&gt;
echo &quot;&lt;br /&gt;
# Automatically added for A2Billing&lt;br /&gt;
0 * * * * php /usr/local/src/a2billing/Cronjobs/a2billing_alarm.php&lt;br /&gt;
0 12 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_archive_data_cront.php&lt;br /&gt;
0 10 21 * * php /usr/local/src/a2billing/Cronjobs/a2billing_autorefill.php&lt;br /&gt;
#Batch process at 00:20 each day&lt;br /&gt;
20 0 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_batch_process.php&lt;br /&gt;
#Bill DID usage at 00:00 each day&lt;br /&gt;
0 0 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_bill_diduse.php&lt;br /&gt;
#Remind users of low balance every day at 06:00&lt;br /&gt;
0 6 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_check_account.php&lt;br /&gt;
#Generate Invoices at 7am everyday&lt;br /&gt;
0 7 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_invoice2_cront.php&lt;br /&gt;
0 7 * * * php /usr/local/src/a2billing/Cronjobs/a2billing_invoice_cront.php&lt;br /&gt;
#Check if balance below preset value, and email user if so.&lt;br /&gt;
1 * * * * php /usr/local/src/a2billing/Cronjobs/a2billing_notify_account.php&lt;br /&gt;
#Charge subscriptions at 06:05 on the 1st of each month&lt;br /&gt;
0 6 1 * * php /usr/local/src/a2billing/Cronjobs/a2billing_subscription_fee.php&lt;br /&gt;
#Update currencies at 01:00 each day&lt;br /&gt;
0 1 * * * php /usr/local/src/a2billing/Cronjobs/currencies_update_yahoo.php&lt;br /&gt;
&quot; &amp;gt;&amp;gt; /var/spool/cron/asterisk&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 35)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/asterisk/a2billing-daemon-callback.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 36)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/a2billing-daemon-callback.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 37)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_alarm.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 38)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_autorefill.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 39)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_batch_process.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 40)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_bill_diduse.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 41)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_subscription_fee.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 42)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_currency_update.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 43)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_invoice.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 44)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/cront_a2b_check_account.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 45)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/a2billing_paypal.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 46)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/a2billing_epayment.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 47)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/api_ecommerce_request.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 48)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/api_callback_request.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 49)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
touch /var/log/a2billing/a2billing_agi.log&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 50)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
cp /usr/local/src/a2billing/addons/Doc/extensions_a2billing.conf /etc/asterisk/extensions_a2billing.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 51)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
echo \#include extensions_a2billing.conf &amp;gt;&amp;gt; /etc/asterisk/extensions_custom.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 52)&lt;/span&gt; remove PHP info&lt;br /&gt;
&lt;br /&gt;
vi /var/www/html/a2billing/common/lib/admin.defines.php&lt;br /&gt;
&lt;br /&gt;
define (&quot;PHP_QUICK_PROFILER&quot;, false);&lt;br /&gt;
&lt;br /&gt;
vi /var/www/html/a2billing/common/lib/agent.defines.php&lt;br /&gt;
&lt;br /&gt;
define (&quot;PHP_QUICK_PROFILER&quot;, false);&lt;br /&gt;
&lt;br /&gt;
vi /var/www/html/a2billing/common/lib/customer.defines.php&lt;br /&gt;
&lt;br /&gt;
define (&quot;PHP_QUICK_PROFILER&quot;, false);&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;step 52)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- m --&gt;&lt;a class=&quot;postlink&quot; href=&quot;http:///&quot;&gt;http://&lt;/a&gt;&lt;!-- m --&gt;&lt;your ip=&quot;&quot; server=&quot;&quot;&gt;/a2billing/&lt;br /&gt;
&lt;br /&gt;
user: root &lt;br /&gt;
pass: changepassword&lt;/your&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/8494192988740302053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/a2billing-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8494192988740302053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/8494192988740302053'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/a2billing-installation.html' title='A2Billing Installation'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipElfRwsG_zF3RZ6uzjy8PZoyW8dPCzzlEBn_epSOQzHgEQ-Otg_ts3vJ6_HokqDWkoW0D2x84-O-2YFlUZPlN5S02LVWMi6RLoYpB_pAFavlkm0iYiYF_Ow1m0RAjRixk3b78dqRPhdc/s72-c/logoA2B_tn.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-288448561062655564</id><published>2009-11-25T13:03:00.000+05:00</published><updated>2010-02-23T10:22:58.350+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="Billing"/><title type='text'>What is A2Billing</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVBCsaF5JFQ7qNAMJk_wl98tHOiuPA2PDSCDZJtD3MWjYevW60sMk7eBKidYBhNf_iB79HrcvpcaxgfuEnji0sXBZGKmz7eMZePIB5cMLB7i9vvSU2tZwoYtn0UEmPZYigW_yrxCqOuqQ/s1600/logoA2B_tn.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVBCsaF5JFQ7qNAMJk_wl98tHOiuPA2PDSCDZJtD3MWjYevW60sMk7eBKidYBhNf_iB79HrcvpcaxgfuEnji0sXBZGKmz7eMZePIB5cMLB7i9vvSU2tZwoYtn0UEmPZYigW_yrxCqOuqQ/s320/logoA2B_tn.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
A2Billing combined with Asterisk now gives any Telecom company a very good reason to consider the A2Billing Soft-Switch over the traditional offerings for TDM and VoIP Soft-Switches as well as wholesale and IP PBX billing, particularly when you consider the cost of A2Billing – FREE!   If you want to launch any of the following services, then A2Billing may be the system for you: &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Traditional Calling Card services – A2Billing can be configured to provide standard calling card services via traditional “dial through”, with PIN or CID authentication. &lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Callback services, A2Billing supports a number of call-back methods including ANI, DID and web based call-backs. &lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;VoIP residential services – Customers can be issued with a softphone or hard phone and be billed for calls made via Voice over IP. &lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;VoIP wholesale termination - A2Billing and Asterisk can be used as a softswitch to terminate and bill large numbers of VoIP minutes from a number of sources such as resellers and distributors of your services. &lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;VoIP termination for Asterisk and FreePBX systems. – With the growth of IP based PBX systems, as well as the asterisk based systems, A2Billing can be used to provide services and billing to IP PBX resellers and Asterisk system integrators. &lt;/li&gt;
&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;DID termination and redirection. DID can be redirected to any SIP, IAX or PSTN destination with monthly charges and duration based charges. &lt;/li&gt;
&lt;/ul&gt;Its is fair to say that A2Billing when combined with Asterisk is is now a full featured telecom platform and softswitch providing converged services, with self contained billing (pre or post-paid), reporting and statistics for IP and TDM based voice networks and can be configured to supply a wide range of services, rate calls, prepare and send out invoices, as well as accept payments via a number of payment service providers. &lt;br /&gt;
The A2Billing solution comprises of the following components: - &lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Server:                 The computer to run the system. &lt;/li&gt;
&lt;li&gt;Line Interface Cards:   The Digium hardware (optional)to connect to the TDM network (PRI, BRI, Analogue) &lt;/li&gt;
&lt;li&gt;Linux:                  The base operating system &lt;/li&gt;
&lt;li&gt;Asterisk:               The telephony engine &lt;/li&gt;
&lt;li&gt;Apache:                 The web server &lt;/li&gt;
&lt;li&gt;MySQL/Postgresql:       The back end database &lt;/li&gt;
&lt;li&gt;A2Billing:              The Billing engine handling Authentication, Authorisation and Accounting. &lt;/li&gt;
&lt;/ul&gt;The platform can be fitted with a TDM cards to interconnect with the PSTN, and can support in excess of 120 concurrent calls given the right hardware. If more capacity is required, then more Asterisk servers can be added as necessary. &lt;br /&gt;
The A2Billing Platform has been deployed in a number of commercial environments by both traditional TDM based telecoms companies wishing to move into the VoIP market, and calling card and call-shop businesses. Additionally, there has been a lot of interest from IT and networking companies who are beginning to deploy VoIP PBXs in addition to their traditional business, and wish to enjoy an ongoing income by terminating their customer’s calls using A2Billing as their Wholesale Billing Platform. &lt;br /&gt;
A2Billing is licenced under the AGPL – this means that you have the freedom to modify the system to suit your own needs, within the rules of the AGPL.&lt;br /&gt;
&lt;br /&gt;
official website for a2billing is &lt;a href=&quot;http://www.a2billing.org/&quot;&gt;www.a2billing.org&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/288448561062655564/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/what-is-a2billing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/288448561062655564'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/288448561062655564'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/what-is-a2billing.html' title='What is A2Billing'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVBCsaF5JFQ7qNAMJk_wl98tHOiuPA2PDSCDZJtD3MWjYevW60sMk7eBKidYBhNf_iB79HrcvpcaxgfuEnji0sXBZGKmz7eMZePIB5cMLB7i9vvSU2tZwoYtn0UEmPZYigW_yrxCqOuqQ/s72-c/logoA2B_tn.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-6206537715137311731</id><published>2009-11-25T12:56:00.000+05:00</published><updated>2009-11-25T12:56:37.326+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><category scheme="http://www.blogger.com/atom/ns#" term="VOIP"/><title type='text'>Asterisk Installation</title><content type='html'>download asterisk source from http://www.asterisk.org/downloads on you local system. as it is *.tar.gz file you have to decompress it using the following command&lt;br /&gt;
tar -zxf&amp;nbsp; asterisk-1.XXX.tar.gz. &amp;gt;&amp;gt;&amp;gt; out put would be the directory with the name asterisk-1.XXX&lt;br /&gt;
go the that directory using the &quot;cd asterisk-1.XXX&quot; command and run the following commands.&lt;br /&gt;
&lt;br /&gt;
make clean&lt;br /&gt;
make&lt;br /&gt;
make all&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
and thats it.&lt;br /&gt;
&lt;br /&gt;
for more details follow instruction given on below link.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.voip-info.org/wiki/view/Asterisk+installation+for+CentOS+4.x&quot;&gt;http://www.voip-info.org/wiki/view/Asterisk+installation+for+CentOS+4.x&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/6206537715137311731/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/asterisk-installation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/6206537715137311731'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/6206537715137311731'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/asterisk-installation.html' title='Asterisk Installation'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-2515585977095266887</id><published>2009-11-09T17:37:00.000+05:00</published><updated>2009-11-09T17:46:43.899+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Asterisk"/><title type='text'>What is Asterisk?</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilcR5v3IdjPsWAVLg5LHpcwnlm3GHdOS0a-6SFrnwYJcGyTk_6eJfvknmTW2M-ixx92vcf4rk56fF0O5a_D71ULOmPqzsTBRs0ifLw4xg5-DkMeutxfF78bJxy5nQrrPraEAhfN-LtqEY/s1600-h/asterisk_160.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilcR5v3IdjPsWAVLg5LHpcwnlm3GHdOS0a-6SFrnwYJcGyTk_6eJfvknmTW2M-ixx92vcf4rk56fF0O5a_D71ULOmPqzsTBRs0ifLw4xg5-DkMeutxfF78bJxy5nQrrPraEAhfN-LtqEY/s320/asterisk_160.jpg&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
Asterisk is the world&#39;s most popular open source telephony project. Under development since 1999, Asterisk is free, open source software that turns an ordinary computer into a feature-rich voice communications server. Asterisk makes it simple to create and deploy a wide range of telephony applications and services.  Code for Asterisk, originally written by Mark Spencer of Digium, Inc., has been contributed from open source software engineers around the world. Currently boasting over two million users, Asterisk supports a wide range of telephony protocols. It includes rich support for the handling and transmission of voice over traditional telephony interfaces including analog lines, ISDN-BRI lines and digital T1/E1 trunks. Asterisk also features support for a wide range of VoIP protocols including SIP, IAX and H.323 among others. It supports U.S. and European standard signaling types used in business phone systems, allowing it to bridge between next-generation voice-data integrated networks and existing infrastructure.&lt;br /&gt;
Asterisk is released as open source under the GNU General Public License (GPL), and it is available for download free of charge. Asterisk® is the leading open source telephony project and the Asterisk community has been ranked as a key factor in the growth of VoIP.</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/2515585977095266887/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/what-is-asterisk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2515585977095266887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/2515585977095266887'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/what-is-asterisk.html' title='What is Asterisk?'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilcR5v3IdjPsWAVLg5LHpcwnlm3GHdOS0a-6SFrnwYJcGyTk_6eJfvknmTW2M-ixx92vcf4rk56fF0O5a_D71ULOmPqzsTBRs0ifLw4xg5-DkMeutxfF78bJxy5nQrrPraEAhfN-LtqEY/s72-c/asterisk_160.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1669598314868454083.post-7076125839306123558</id><published>2009-11-08T03:24:00.000+05:00</published><updated>2009-11-09T17:24:33.075+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Books"/><title type='text'>Free Books Sites</title><content type='html'>here are some websites, where you can find free book of all categories i.e computer, information technology, OS ( Unix, Linux, Windows, Solaris, HP-UX, FreeBSD), Networks, Telecomunications etc.&lt;br /&gt;
http://www.getfreeebooks.com&lt;br /&gt;
http://www.freetechbooks.com/&lt;br /&gt;
http://freecomputerbooks.com/&lt;br /&gt;
http://www.freebookcentre.net/&lt;br /&gt;
http://www.techbooksforfree.com&lt;br /&gt;
&lt;br /&gt;
i hope you will find the above links very usefull.</content><link rel='replies' type='application/atom+xml' href='http://it-xpert-solutions.blogspot.com/feeds/7076125839306123558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/free-books-sites.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7076125839306123558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1669598314868454083/posts/default/7076125839306123558'/><link rel='alternate' type='text/html' href='http://it-xpert-solutions.blogspot.com/2009/11/free-books-sites.html' title='Free Books Sites'/><author><name>Tanveer Hussain Khan</name><uri>http://www.blogger.com/profile/05925425835953569008</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>