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

<channel>
	<title>La Cofradía Digital &#187; Humor</title>
	<atom:link href="http://cofradia.org/category/humor/feed/" rel="self" type="application/rss+xml" />
	<link>http://cofradia.org</link>
	<description>Hermandad informática</description>
	<lastBuildDate>Thu, 02 Sep 2010 01:17:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Demo de marcación automática con Asterisk para Campus Party</title>
		<link>http://cofradia.org/2010/08/10/demo-de-marcacion-automatica-con-asterisk-para-campus-party/</link>
		<comments>http://cofradia.org/2010/08/10/demo-de-marcacion-automatica-con-asterisk-para-campus-party/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 14:00:08 +0000</pubDate>
		<dc:creator>El Pop</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programacion]]></category>
		<category><![CDATA[Tips técnicos]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Campus Party]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=3542</guid>
		<description><![CDATA[Cuando salga esta nota, yo estaré impartinedo una conferencia en Campus Party 2010 sobre marcación automática usando Asterisk. Hice un pequeño programa en perl llamado &#8220;joder.pl&#8221; que hace exactamente lo que su nombre dice. Pones un número a marcar y el lapso en segundos y marca a un teléfono victima y repite esto hasta que [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cofradia.org/wp-content/uploads/2010/08/cp_2.jpg"><img src="http://cofradia.org/wp-content/uploads/2010/08/cp_2-300x199.jpg" alt="" title="cp_2" width="300" height="199" class="alignleft size-medium wp-image-3556" /></a></p>
<p>Cuando salga esta nota, yo estaré impartinedo una conferencia en <A HREF="http://www.campus-party.com.mx/2010/index.html">Campus Party 2010</A> sobre marcación automática usando Asterisk.</p>
<p>Hice un pequeño programa en perl llamado &#8220;joder.pl&#8221; que hace exactamente lo que su nombre dice. </p>
<p>Pones un número a marcar y el lapso en segundos y marca a un teléfono victima y repite esto hasta que interrumpes el programa.</p>
<p>Es una versión muy simplificada de un marcador, pero es para mostrar las posibilidades infinitas para crear programas interesantes&#8230;<br />
<span id="more-3542"></span></p>
<p>Antes que nada es necesario tener una instalación de <A HREF="http://www.asterisk.org/">Asterisk</A> operando y con lo siguiente en sus archivos de configuración:</p>
<p>en el archivo /etc/asterisk/manager.conf deben de tener algo así:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[general]
displaysystemname = yes
enabled = yes
;webenabled = yes
port = 5038
bindaddr = 0.0.0.0
&nbsp;
[test]
secret = test
writetimeout = 100000
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user</pre></div></div>

<p>En el archivo de dialplan de Asterisk conocido como /etc/asterisk/extensions.conf debera estar algo así:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">[dial]
exten =&gt; 666,1,Playback(tt-monkeys)
exten =&gt; 666,n,hangup</pre></div></div>

<p>Al invocar el programa así:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">./joder.pl 56581111 30</pre></div></div>

<p>El programa marca a la Profeco y cada 30 segundos hace lo mismo, al contestar toca un audio de &#8220;changos&#8221;, hasta que interrumpimos el programa con un control+C.</p>
<p>En este caso estamos usando un API de Asterisk conocidop como <A HREF="http://www.voip-info.org/wiki/view/Asterisk+manager+API">AMI</A> (Asterisk Manager Interface).</p>
<p>El programa se deja para fines didácticos y no nos hacemos responsables de su uso, y menos del gasto telefónico que esto genere.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
</pre></td><td class="code"><pre class="perl" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/usr/bin/perl</span>
<span style="color: #666666; font-style: italic;">#====================================================================#</span>
<span style="color: #666666; font-style: italic;"># Program =&gt; joder.pl                                  (In Perl 5.x) #</span>
<span style="color: #666666; font-style: italic;">#====================================================================#</span>
<span style="color: #666666; font-style: italic;"># Autor         =&gt; Fernando &quot;El Pop&quot; Romo         (pop@cofradia.org) #</span>
<span style="color: #666666; font-style: italic;"># Creation date =&gt; 10/Aug/2010                                       #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Info =&gt; This program is a litle demostration of automatic dialing. #</span>
<span style="color: #666666; font-style: italic;">#         take the phone argument and make a lot of disturbing       #</span>
<span style="color: #666666; font-style: italic;">#         calls.                                                     #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;">#               (c) 2010 - Fernando Romo / Incuvox                   #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># This code are released under the GPL License. Any change must be   #</span>
<span style="color: #666666; font-style: italic;"># report to the authors                                              #</span>
<span style="color: #666666; font-style: italic;">#====================================================================#</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Load Modules</span>
<span style="color: #000000; font-weight: bold;">use</span> strict<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> POSIX<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> IO<span style="color: #339933;">::</span><span style="color: #006600;">Socket</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> Socket<span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">use</span> Fcntl<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># signal traps</span>
<span style="color: #0000ff;">$SIG</span><span style="color: #009900;">&#123;</span>PIPE<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'IGNORE'</span><span style="color: #339933;">;</span>
<span style="color: #0000ff;">$SIG</span><span style="color: #009900;">&#123;</span>INT<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$SIG</span><span style="color: #009900;">&#123;</span>TERM<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$SIG</span><span style="color: #009900;">&#123;</span>HUP<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #ff0000;">'Terminate'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Number to dial</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$Number_To_Dial</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$Delay</span>          <span style="color: #339933;">=</span> <span style="color: #0000ff;">$ARGV</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Socket handler for Asterisk</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$asterisk_handler</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Flags to connect to Asterisk</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------</span>
<span style="color: #666666; font-style: italic;"># [Pop] Developer Note: The Sys_Parms() load the necesary values from</span>
<span style="color: #666666; font-style: italic;"># the Parameter table in the DB. I left this values comment for test</span>
<span style="color: #666666; font-style: italic;"># and documentation purposes.</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------</span>
<span style="color: #b1b100;">my</span> <span style="color: #0000ff;">%Parm</span> <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Dial parametrs</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>dialer<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>timeout<span style="color: #009900;">&#125;</span>          <span style="color: #339933;">=</span> <span style="color: #cc66cc;">30000</span><span style="color: #339933;">;</span>        <span style="color: #666666; font-style: italic;"># Dial Timeout</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>dialer<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>absolute_timeout<span style="color: #009900;">&#125;</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">180</span><span style="color: #339933;">;</span>          <span style="color: #666666; font-style: italic;"># absolute max time of a call in seconds, 0 = no limit</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>dialer<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>caller_id<span style="color: #009900;">&#125;</span>        <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;5556581111&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;"># Caller_ID to report to carrier (for SIP trunking)</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#  Asterisk manager parameters</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>host<span style="color: #009900;">&#125;</span>     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;127.0.0.1&quot;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;"># IP address of * Server</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>port<span style="color: #009900;">&#125;</span>     <span style="color: #339933;">=</span> <span style="color: #cc66cc;">5038</span><span style="color: #339933;">;</span>        <span style="color: #666666; font-style: italic;"># * manager port</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>user<span style="color: #009900;">&#125;</span>     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test&quot;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;"># * Manager user</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>pass<span style="color: #009900;">&#125;</span>     <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;test&quot;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;"># * Manager password</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>events<span style="color: #009900;">&#125;</span>   <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>           <span style="color: #666666; font-style: italic;"># Flag to request event log to * manager</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>trunk<span style="color: #009900;">&#125;</span>    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;Zap/g1&quot;</span><span style="color: #339933;">;</span>    <span style="color: #666666; font-style: italic;"># Outgoing calls resource</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>context<span style="color: #009900;">&#125;</span>  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;dial&quot;</span><span style="color: #339933;">;</span>      <span style="color: #666666; font-style: italic;"># Context of the dial</span>
<span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>exten<span style="color: #009900;">&#125;</span>    <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;666&quot;</span><span style="color: #339933;">;</span>       <span style="color: #666666; font-style: italic;"># Context of the dial</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------------------</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;">#  Function: Terminate()                                  #</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: catch the {INT}  signal and close connection  #</span>
<span style="color: #666666; font-style: italic;">#           to sockets and terminate program.             #</span>
<span style="color: #666666; font-style: italic;">#   Params: none                                          #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                               #</span>
<span style="color: #666666; font-style: italic;">#          $SIG{INT}  = 'Terminate';                      #</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Terminate <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">close</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$asterisk_handler</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>         <span style="color: #666666; font-style: italic;"># destroy asterisk manager conection</span>
    <span style="color: #000066;">exit</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>                          <span style="color: #666666; font-style: italic;"># Exit without error</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
<span style="color: #666666; font-style: italic;">#  Function: Nonblock([TCP socket handler])     #</span>
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: puts socket into nonblocking mode   #</span>
<span style="color: #666666; font-style: italic;">#   Params: [TCP Socket Handler]                #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                     #</span>
<span style="color: #666666; font-style: italic;">#          Nonblock($socket);                   #</span>
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Nonblock <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$socket</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$flags</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #0000ff;">$flags</span> <span style="color: #339933;">=</span> <span style="color: #000066;">fcntl</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$socket</span><span style="color: #339933;">,</span> F_GETFL<span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;Can't get flags for socket: $!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #000066;">fcntl</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$socket</span><span style="color: #339933;">,</span> F_SETFL<span style="color: #339933;">,</span> <span style="color: #0000ff;">$flags</span> <span style="color: #339933;">|</span> O_NONBLOCK<span style="color: #009900;">&#41;</span>
        <span style="color: #b1b100;">or</span> <span style="color: #000066;">die</span> <span style="color: #ff0000;">&quot;Can't make socket nonblocking: $!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
<span style="color: #666666; font-style: italic;">#  Function: Manager_Login                      #</span>
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: Send Login Action to Asterisk API   #</span>
<span style="color: #666666; font-style: italic;">#   Params: none                                #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                     #</span>
<span style="color: #666666; font-style: italic;">#          Manager_Login();                     #</span>
<span style="color: #666666; font-style: italic;">#-----------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Manager_Login <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$command</span>  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;Action: Login<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Username: $Parm{asterisk}{user}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Secret: $Parm{asterisk}{pass}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Events: &quot;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>events<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">'on'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">'off'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span> 
    <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    Send_To_Asterisk<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">\$command</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#--------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Function: Connect_To_Asterisk()                  #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: connect program with asterisk manager  #</span>
<span style="color: #666666; font-style: italic;">#   Params: None                                   #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                        #</span>
<span style="color: #666666; font-style: italic;">#          Connect_To_Asterisk();                  #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Connect_To_Asterisk <span style="color: #009900;">&#123;</span>
    <span style="color: #0000ff;">$asterisk_handler</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> IO<span style="color: #339933;">::</span><span style="color: #006600;">Socket</span><span style="color: #339933;">::</span><span style="color: #006600;">INET</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">new</span><span style="color: #009900;">&#40;</span> PeerAddr <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>host<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
                                                   PeerPort <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">$Parm</span><span style="color: #009900;">&#123;</span>asterisk<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#123;</span>port<span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span>
                                                   Proto    <span style="color: #339933;">=&gt;</span> <span style="color: #ff0000;">&quot;tcp&quot;</span><span style="color: #339933;">,</span>
                                                   ReuseAddr <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span>
                                                   Type     <span style="color: #339933;">=&gt;</span> SOCK_STREAM <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$asterisk_handler</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #0000ff;">$asterisk_handler</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">autoflush</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        Nonblock<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$asterisk_handler</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #000066;">return</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    	<span style="color: #000066;">return</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Function: Send_To_Asterisk([message])                  #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: Send  message to Asterik manager             #</span>
<span style="color: #666666; font-style: italic;">#   Params: message, socket_handler                      #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                              #</span>
<span style="color: #666666; font-style: italic;">#          Send_To_Asterisk(\$message)                   #</span>
<span style="color: #666666; font-style: italic;">#--------------------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Send_To_Asterisk <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$command_ref</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">unless</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$$command_ref</span> <span style="color: #b1b100;">eq</span> <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #666666; font-style: italic;"># if the socket exists send data, if not, turn on reconnection flag</span>
        <span style="color: #666666; font-style: italic;"># if (defined(getpeername($asterisk_handler))) {</span>
        <span style="color: #b1b100;">unless</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$asterisk_handler</span> <span style="color: #b1b100;">eq</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$rv</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">$asterisk_handler</span><span style="color: #339933;">-&gt;</span><span style="color: #006600;">send</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$$command_ref</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #b1b100;">unless</span> <span style="color: #009900;">&#40;</span><span style="color: #000066;">defined</span> <span style="color: #0000ff;">$rv</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                <span style="color: #666666; font-style: italic;"># if send fails, turn on reconnection flag</span>
                <span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#---------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Function: Dial([phone number])                    #</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------------#</span>
<span style="color: #666666; font-style: italic;"># Objetive: originate a phone call via the asterisk #</span>
<span style="color: #666666; font-style: italic;">#                                                   #</span>
<span style="color: #666666; font-style: italic;">#   Params: phone number                            #</span>
<span style="color: #666666; font-style: italic;">#    Usage:                                         #</span>
<span style="color: #666666; font-style: italic;">#          Dial('56581111');                        #</span>
<span style="color: #666666; font-style: italic;">#---------------------------------------------------#</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">sub</span> Dial <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$Number</span> <span style="color: #339933;">=</span> <span style="color: #000066;">shift</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">my</span> <span style="color: #0000ff;">$command</span>  <span style="color: #339933;">=</span> <span style="color: #ff0000;">&quot;Action: Originate<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Channel: $Parm{asterisk}{trunk}/$Number<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Context: $Parm{asterisk}{context}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Exten: $Parm{asterisk}{exten}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Priority: 1<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Async: true<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Timeout: $Parm{dialer}{timeout}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Variable: TIMEOUT(absolute)=$Parm{dialer}{absolute_timeout}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
       <span style="color: #0000ff;">$command</span> <span style="color: #339933;">.=</span> <span style="color: #ff0000;">&quot;Callerid: $Parm{dialer}{caller_id}<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
    Send_To_Asterisk<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">\$command</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#======================#</span>
<span style="color: #666666; font-style: italic;">#      Main block      #</span>
<span style="color: #666666; font-style: italic;">#======================#</span>
&nbsp;
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$Number_To_Dial</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #0000ff;">$Delay</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #666666; font-style: italic;"># Main loop #</span>
&nbsp;
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$manager_connect_flag</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">=</span> Connect_To_Asterisk<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #b1b100;">unless</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$manager_connect_flag</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                Manager_Login<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span> 
        <span style="color: #009900;">&#125;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;"># Check if the dialer can send calls to asterisk using a semaphore</span>
        <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$manager_connect_flag</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$Number_To_Dial</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
                Dial<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$Number_To_Dial</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
                <span style="color: #000066;">sleep</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">$Delay</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
            <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #009900;">&#125;</span> <span style="color: #666666; font-style: italic;"># End of main loop</span>
&nbsp;
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000066;">print</span> <span style="color: #ff0000;">&quot;Usage =&gt; joder.pl [Number to dial] [wait time in seconds]<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">#------------- End of main block ----------</span></pre></td></tr></table></div>

<p>Enjoy!</p>
<p>Saludos&#8230; Fernando &#8220;El Pop&#8221; Romo</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/08/10/demo-de-marcacion-automatica-con-asterisk-para-campus-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nuevo &#8220;desastre&#8221; aqueja a British Petroleum</title>
		<link>http://cofradia.org/2010/06/29/nuevo-desastre-aqueja-a-british-petroleum/</link>
		<comments>http://cofradia.org/2010/06/29/nuevo-desastre-aqueja-a-british-petroleum/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 17:31:41 +0000</pubDate>
		<dc:creator>carlos</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Paranoia Fan Club]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=3217</guid>
		<description><![CDATA[Hola Cofradia Un nuevo desastre le ocurrió a British Petroleum,  y demuestra por que no pueden corregir el primero      www.youtube.com/watch?v=fmv18uhWVWQ Que tengan un buen día Chuky]]></description>
			<content:encoded><![CDATA[<p>Hola Cofradia</p>
<p>Un nuevo desastre le ocurrió a British Petroleum,  y demuestra por que no pueden corregir el primero  <img src='http://cofradia.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <img src='http://cofradia.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   <img src='http://cofradia.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span class="youtube">
<object width="480" height="295">
<param name="movie" value="http://www.youtube.com/v/fmv18uhWVWQ&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0&amp;hd=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="transparent" src="http://www.youtube.com/v/fmv18uhWVWQ&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;autoplay=0&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0?rel=0&amp;hd=1" type="application/x-shockwave-flash" allowfullscreen="true" width="480" height="295"></embed>
<param name="wmode" value="transparent" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=fmv18uhWVWQ&fmt=18">www.youtube.com/watch?v=fmv18uhWVWQ</a></p></p>
<p>Que tengan un buen día</p>
<p>Chuky</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/06/29/nuevo-desastre-aqueja-a-british-petroleum/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Porque prefiero a Google</title>
		<link>http://cofradia.org/2010/04/11/porque-prefiero-a-google/</link>
		<comments>http://cofradia.org/2010/04/11/porque-prefiero-a-google/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 06:27:35 +0000</pubDate>
		<dc:creator>carlos</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2802</guid>
		<description><![CDATA[http://cavemancircus.com/2009/11/04/best-halloween-costume-of-2009/﻿ Segunda foto&#8230;  nuff said Carlos]]></description>
			<content:encoded><![CDATA[<p>http://cavemancircus.com/2009/11/04/best-halloween-costume-of-2009/﻿</p>
<p>Segunda foto&#8230;  nuff said</p>
<p>Carlos</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/04/11/porque-prefiero-a-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google street view 3D</title>
		<link>http://cofradia.org/2010/04/02/google-street-view-3d/</link>
		<comments>http://cofradia.org/2010/04/02/google-street-view-3d/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 20:57:45 +0000</pubDate>
		<dc:creator>leon</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[WTF]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2765</guid>
		<description><![CDATA[Todo mundo anda de vacaciones, ni quien se acuerde de publicar algo, pero resulta que entrando a google street view desde el navegador (pero supongo que en googleearth es lo mismo) sale un monito abajo de los botones de zoom para activar la vista en 3D usando los clasicos lentes de doble color yo no [...]]]></description>
			<content:encoded><![CDATA[<p>Todo mundo anda de vacaciones, ni quien se acuerde de publicar algo, pero resulta que entrando a google street view desde el navegador (pero supongo que en googleearth es lo mismo) sale un monito abajo de los botones de zoom para activar la vista en 3D usando los clasicos lentes de doble color</p>
<p>yo no tengo tales lentes pero si se ve que cambia la imagen por lo que supongo que no es broma</p>
<p><a href="http://google-latlong.blogspot.com/2010/04/google-physicists-discover-extra.html">aqui la noticia </a></p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/04/02/google-street-view-3d/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Las fallas del CURP y como registrar anonimamente tu celular en el RENAUT</title>
		<link>http://cofradia.org/2010/03/25/las-fallas-del-curp-y-como-registrar-anonimamente-tu-celular-en-el-renaut/</link>
		<comments>http://cofradia.org/2010/03/25/las-fallas-del-curp-y-como-registrar-anonimamente-tu-celular-en-el-renaut/#comments</comments>
		<pubDate>Thu, 25 Mar 2010 16:14:42 +0000</pubDate>
		<dc:creator>El Pop</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Paranoia Fan Club]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2722</guid>
		<description><![CDATA[Me llego un mensaje de manera anónima que menciona el procedimiento para obtener el CURP de cualquier personalidad pública y así registrar tu celular de manera anónima. aunque no se si el RENAUT (Registro Nacional de Usuarios de Telefonía Móvil), tenga candados al respecto&#8230;. Modifiqué el texto lo mejor posible y lo dejo de manera [...]]]></description>
			<content:encoded><![CDATA[<p>Me llego un mensaje de manera anónima que menciona el procedimiento para obtener el CURP de cualquier personalidad pública y así registrar tu celular de manera anónima. aunque no se si el <A HREF="http://www.renaut.gob.mx./RENAUT/">RENAUT</A> (Registro Nacional de Usuarios de Telefonía Móvil), tenga candados al respecto&#8230;.</p>
<p><span id="more-2722"></span></p>
<p>Modifiqué el texto lo mejor posible y lo dejo de manera coherente:</p>
<p>1) Busque en Google o Wikipedia su personaje Mexicano favorito. Para este ejercicio usaremos al presidente de México y su información obtenida de Wikipedia:</p>
<blockquote>
<p>http://en.wikipedia.org/wiki/Felipe_Calderon</p>
</blockquote>
<p>2) Del punto anterior obtenemos la siguiente información:</p>
<blockquote><p>
Nombre: Felipe de Jesús Calderón Hinojosa<br />
Fecha de nacimiento: 18 de agosto de 1962<br />
Localidad: Morelia, Michoacán
</p></blockquote>
<p>3) accesamos la página de consulta del CURP en:</p>
<blockquote>
<p>http://renapo.gob.mx/RENAPOPortal/consultacurp.html</p>
</blockquote>
<p>y llenamos los datos con la información del punto 2:</p>
<p><a href="http://cofradia.org/wp-content/uploads/2010/03/busqueda_Curp.png"><img src="http://cofradia.org/wp-content/uploads/2010/03/busqueda_Curp-300x115.png" alt="" title="busqueda_Curp" width="300" height="115" class="alignnone size-medium wp-image-2723" /></a></p>
<p>4) Le das &#8220;buscar&#8221; y obtienes:</p>
<p><a href="http://cofradia.org/wp-content/uploads/2010/03/Curp_FCH.png"><img src="http://cofradia.org/wp-content/uploads/2010/03/Curp_FCH-197x300.png" alt="" title="Curp_FCH" width="197" height="300" class="alignnone size-medium wp-image-2724" /></a></p>
<p>y ya tienes los datos suficientes para registrar un celular robado a nombre del Presidente de México y no quedarte sin servicio.</p>
<p>5) Adicionalmente el sistema del CURP permite cambiar el e-mail del contacto del registro:</p>
<p><a href="http://cofradia.org/wp-content/uploads/2010/03/curo_email.png"><img src="http://cofradia.org/wp-content/uploads/2010/03/curo_email-300x113.png" alt="" title="curo_email" width="300" height="113" class="alignnone size-medium wp-image-2725" /></a></p>
<p>[Nota del Pop]: Cuando recibí esto pensaba desecharlo, pero me dió curiosidad y al seguir los pasos, se ve evidentemente que el sistema de manejo de información del CURP es poco confiable y que las reglas del RENAUT son facilmente trasgredidas. Aquí debe tomar, el Gobierno Federal Mexicano, esto como una alarma, para poder corregir la deficiencia de sus sistemas. </p>
<p>Lo más chistoso en este asunto es que no es un ataque informático, es una consulta que cualquiera puede hacer y usar los datos personales de cualquiera :S</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/03/25/las-fallas-del-curp-y-como-registrar-anonimamente-tu-celular-en-el-renaut/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Líderes iberoamericanos perdidos</title>
		<link>http://cofradia.org/2010/03/07/cualquier-parecido-con-la-realidad-es-la-pura-verdad/</link>
		<comments>http://cofradia.org/2010/03/07/cualquier-parecido-con-la-realidad-es-la-pura-verdad/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 01:15:41 +0000</pubDate>
		<dc:creator>propositivo</dc:creator>
				<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2658</guid>
		<description><![CDATA[Faltaron los inútiles legítimos o los legítimos inútiles: Los líderes iberoamericanos, &#8220;perdidos&#8221; en una satírica serie de animación (Liga a Yahoo).]]></description>
			<content:encoded><![CDATA[<p>Faltaron los inútiles legítimos o los legítimos inútiles: </p>
<p><A HREF="http://mx.entertainment.yahoo.com/especialesnoticias04.html">Los líderes iberoamericanos, &#8220;perdidos&#8221; en una satírica serie de animación</A> (Liga a Yahoo).</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/03/07/cualquier-parecido-con-la-realidad-es-la-pura-verdad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No depende de la riqueza ni la densidad de población: Google TISP</title>
		<link>http://cofradia.org/2010/02/12/no-depende-de-la-riqueza-ni-la-densidad-de-poblacion-google-tisp/</link>
		<comments>http://cofradia.org/2010/02/12/no-depende-de-la-riqueza-ni-la-densidad-de-poblacion-google-tisp/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 08:05:44 +0000</pubDate>
		<dc:creator>propositivo</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[Humor]]></category>
		<category><![CDATA[internet]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2535</guid>
		<description><![CDATA[Simplemente cerebro, ganas de hacerlo y obvio una lana: Google TISP Pero es algo que SLIM no tiene planeado hacer ni con toda su prole familia. Seguro tampoco sabe que se puede hacer. [Nota del Pop]: Umm, La nota correcta es esta: Think big with a Gig: Our experimental fiber Network. Prepararon esto para el [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://cofradia.org/wp-content/uploads/2010/02/tisp_logo_sm.gif"><img src="http://cofradia.org/wp-content/uploads/2010/02/tisp_logo_sm.gif" alt="" title="tisp_logo_sm" width="240" height="100" class="alignleft size-full wp-image-2539" /></a>Simplemente cerebro, ganas de hacerlo y obvio una lana:</p>
<p><A HREF="http://www.google.com/tisp/">Google TISP</A></p>
<p>Pero es algo que SLIM no tiene planeado hacer ni con toda su prole familia.</p>
<p>Seguro tampoco sabe que se puede hacer.</p>
<p>[Nota del Pop]: Umm, La nota correcta es esta: <A HREF="http://googleblog.blogspot.com/2010/02/think-big-with-gig-our-experimental.html">Think big with a Gig: Our experimental fiber Network</A>. Prepararon esto para el clásico &#8220;April&#8217;s fools&#8221; del 2007.</p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/02/12/no-depende-de-la-riqueza-ni-la-densidad-de-poblacion-google-tisp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;Humor&#8221; Político o pura realidad</title>
		<link>http://cofradia.org/2010/01/28/humor-politico-o-pura-realidad/</link>
		<comments>http://cofradia.org/2010/01/28/humor-politico-o-pura-realidad/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:40:16 +0000</pubDate>
		<dc:creator>propositivo</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Política]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=2466</guid>
		<description><![CDATA[Quiero comentar que pienso que seleccionar cualquier animal para este chiste seria una falta de respeto para cualquier animal. Y en caso de elegir uno pues para mi no seria una tortuga, hay que encontrar el que realmente debe ir. LA TORTUGA ARRIBA DEL POSTE. Un joven está paseando por una plaza de un pueblo y [...]]]></description>
			<content:encoded><![CDATA[<p>Quiero comentar que pienso que seleccionar cualquier animal para este chiste seria una falta de respeto para cualquier animal. Y en caso de elegir uno pues para mi no seria una tortuga, hay que encontrar el que realmente debe ir.
<p><strong>LA TORTUGA ARRIBA DEL POSTE.</strong></p>
<p>Un joven está paseando por una plaza de un pueblo y decide tomar un descanso.</p>
<p>Se sienta en un banco al lado hay un señor de más edad y, naturalmente, comienzan a conversar sobre el país, el gobierno y finalmente sobre los diputados, senadores, asambleistas, y similares.</p>
<p><span id="more-2466"></span><br />
<em>El señor le dice al joven:</em></p>
<p><em>- &#8220;¿Sabe? &#8211; </em></p>
<p><em>LOS DIPUTADOS, SENADORES, ASAMBLEISTAS Y DEMAS, SON COMO UNA TORTUGA EN UN POSTE.&#8221;</em><em> </em></p>
<p><em><em>Después de un breve lapso, el joven responde:</em></em></p>
<p><em><em>- &#8220;No comprendo bien la analogía&#8230; ¿Qué significa éso, señor?&#8221;</em></em></p>
<p><em><em>Entonces, el señor le explica:</em></em></p>
<p><em><em>- &#8220;Si vas caminando por el campo y ves una tortuga arriba de un poste de alambrado haciendo equilibrio ¿Qué se te ocurre?&#8221;</em></em></p>
<p><em><em>Viendo la cara de incomprensión del joven, continúa con su explicación:</em></em></p>
<p><em><em>- &#8220;Primero: No entenderás cómo llegó ahí.</em></em></p>
<p><em><em>- Segundo: No podrás creer que esté ahí.</em></em></p>
<p><em><em>- Tercero: Sabrás que no pudo haber subido allí solito.</em></em></p>
<p><em><em>- Cuarto: Estarás seguro que no debería estar allí.</em></em></p>
<p><em><em>- Quinto: Serás consciente que no va a hacer nada útil mientras este allí.</em></em></p>
<p><em><em>Entonces lo único sensato seria ayudarla a bajar.&#8221;</em></em></p>
<p><em><em><strong>ESTE AÑO, EN LAS ELECCIONES, HAGAMOS UN BIEN, TRATEMOS QUE NINGÚN ANIMAL SUBA AL POSTE Y, CON AMOR Y CARIÑO ¡AYUDEMOS A BAJAR A LAS TORTUGAS QUE HOY ESTAN ARRIBA!</strong></em></em><br />
<em><em><strong> </strong></em></em></p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2010/01/28/humor-politico-o-pura-realidad/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Un poco de humor basado en la Influenza&#8230;</title>
		<link>http://cofradia.org/2009/04/30/un-poco-de-humor-basado-en-la-influenza/</link>
		<comments>http://cofradia.org/2009/04/30/un-poco-de-humor-basado-en-la-influenza/#comments</comments>
		<pubDate>Fri, 01 May 2009 04:02:53 +0000</pubDate>
		<dc:creator>El Pop</dc:creator>
				<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=1448</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img src="http://cofradia.org/wp-content/uploads/2009/04/billelle-300x166.jpg" alt="billelle" title="billelle" width="300" height="166" class="aligncenter size-medium wp-image-1447" /></p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2009/04/30/un-poco-de-humor-basado-en-la-influenza/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Base de datos de caricaturas clásicas</title>
		<link>http://cofradia.org/2009/03/01/base-de-datos-de-caricaturas-clasicas/</link>
		<comments>http://cofradia.org/2009/03/01/base-de-datos-de-caricaturas-clasicas/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 05:20:10 +0000</pubDate>
		<dc:creator>El Pop</dc:creator>
				<category><![CDATA[Cine]]></category>
		<category><![CDATA[Humor]]></category>

		<guid isPermaLink="false">http://cofradia.org/?p=997</guid>
		<description><![CDATA[Me hicieron llegar una liga a un proyecto muy interesante llamado BCDB (The Big Cartoon Database), este es un compendio de información sobre caricaturas y animaciones clásicas. Aquí podrán encontrar información de directores, productores, escritores y dibujantes que participaron en la creación de varias caricaturas dignas de un buen &#8220;rucómetro&#8221;]]></description>
			<content:encoded><![CDATA[<p><img src="http://cofradia.org/wp-content/uploads/2009/03/bcdb_small.gif" alt="bcdb_small" title="bcdb_small" width="129" height="69" class="alignleft size-full wp-image-998" /></p>
<p>
Me hicieron llegar una liga a un proyecto muy interesante llamado <A HREF="http://www.bcdb.com/">BCDB</A> (The Big Cartoon Database), este es un compendio de información sobre caricaturas y animaciones clásicas.
</p>
<p>
Aquí podrán encontrar información de directores, productores, escritores y dibujantes que participaron en la creación de varias caricaturas dignas de un buen &#8220;rucómetro&#8221; <img src='http://cofradia.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://cofradia.org/2009/03/01/base-de-datos-de-caricaturas-clasicas/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
