Sunday, August 10, 2008
CAS & CCS
In band signaling used in VoIP/PSTN. Also known as PTS (Per-Trunk Signaling). The most common implementation is RBS (Robbed Bit Signaling). The variants are Loopstart, Groundstart and E&M signaling.
More details at: http://www.cisco.com/en/US/tech/tk652/tk653/technologies_tech_note09186a00800e2560.shtml
CCS: Common Channel Signaling
This is the practice of using the common dedicated signaling channel for all the data channels. ISDN & SS7 are the two common implementations.
More details at: http://en.wikipedia.org/wiki/Common_Channel_Signaling
Wednesday, February 27, 2008
Tuesday, February 26, 2008
qemu
1. I had F8 DVD extracted to /var/www/html/F8 of my laptop
2. Did a wget of F8/images/boot.iso
3. qemu-img create -f qcow2 4gb.img 4G
4. qemu -cdrom boot.iso -hda 4gb.img -m 256 -boot d
5. Selected http install, pointed to correct url, selected default layout, no desktop, devel + servers
Allowed the installation to take its own sweet time to finish
When it was over, I rebooted with 512MB RAM. I am now planning to get KQemu
Wednesday, February 20, 2008
ഭൂലോക വല വിഷയാനുസൃതമായി ക്രമീകരിച്ചത്.
ഭൂലോക വല വിഷയാനുസൃതമായി ക്രമീകരിച്ചത്.
ശൃംഗലയിലെ ഏറ്റവും വലിയ മനുഷ്യ-പരിശോധിത സൂചിക നിര്മ്മിക്കുവാന് സഹായിക്കുക
And the translations are...
The web organized by topic into categories.
Help build the largest human-edited directory on the web.
:)
Sunday, February 17, 2008
Adding color to dokuwiki text
Copy the plugin-source below, and paste it into <dokuwiki-root>/lib/plugins/color/syntax.php
<color red> </color>
<?php
/**
* color-Plugin
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Carl-Christian Salvesen <calle@ioslo.net>
* @version 0.1.20050622
*/
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'syntax.php');
/**
* All DokuWiki plugins to extend the parser/rendering mechanism
* need to inherit from this class
*/
class syntax_plugin_color extends DokuWiki_Syntax_Plugin {
/**
* What kind of syntax are we?
*/
function getType(){
return 'formatting';
}
/**
* Where to sort in?
*/
function getSort(){
return 100;
}
/**
* Connect pattern to lexer
*/
function connectTo($mode) {
$this->Lexer->addEntryPattern('<color(?=.*\x3C/color\x3E)',$mode,'plugin_color');
}
function postConnect() {
$this->Lexer->addExitPattern('</color>','plugin_color');
}
/**
* Handle the match
*/
function handle($match, $state, $pos) {
if ( $state == DOKU_LEXER_UNMATCHED ) {
$matches = preg_split('/>/u',$match,2);
$matches[0] = trim($matches[0]);
if ( trim($matches[0]) == '' ) {
$matches[0] = NULL;
}
return array($matches[1],$matches[0]);
}
return TRUE;
}
/**
* Create output
*/
function render($mode, &$renderer, $data) {
global $conf;
if($mode == 'xhtml' && strlen(trim($data[0])) > 0) {
$renderer->doc .= '<span style="color: '.$data[1].'">'.$data[0].'</span>';
return true;
}
return false;
}
}
Saturday, February 16, 2008
Resetting mysql passwd
Alternatively, on any platform, you can set the new password
using the mysql client(but this approach
is less secure):
Stop mysqld_safe and restart it with the
--skip-grant-tables --user=rootoptions
(Windows users omit the--user=root
portion).
Connect to the mysqld server with
this command:
shell>
mysql -u root
Issue the following statements in the
mysql client:
mysql>
UPDATE mysql.user SET Password=PASSWORD('newpwd')
->WHERE User='root';
mysql>FLUSH PRIVILEGES;
Resetting mysql password
- Ensure that you have stopped all running instances of mysqld
Create a text file and place the following command
within it on a single line:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('MyNewPassword');
Save the file with any name. For this example the file
will be~/mysql-init.
Restart the MySQL server with the special
--init-file=~/mysql-initoption:
shell>
mysqld_safe --init-file=~/mysql-init &
The contents of the init-file are executed at server
startup, changing the root password. After the server
has started successfully you should delete
~/mysql-init.
You should be able to connect using the new password.
Wednesday, February 13, 2008
Immediate ToDo List
2. Gain knowledge of sip
3. Gain knowledge of sipx code
Powered by ScribeFire.
Tuesday, February 12, 2008
E1 PRI VoIP gateway
When I looked for them, I found that prices are from $3K-8K for the kind of stuff that we were using. That is lot of money :(. I am still searching for a cheaper one!
Powered by ScribeFire.
Sunday, February 10, 2008
ELDK for ppc
Getting this also for the real work.
Powered by ScribeFire.
Debian sarge for ppc
Well, I need to port asterisk to ppc. I am not sure how I am going to proceed. But I know, I will make a few ppc virtual machines and play around. And... Qemu + this distro seems to be the way to go.
Powered by ScribeFire.
What is this?
Powered by ScribeFire.
