Ahora te envio los contenidos <br><br>openser.cfg<br><br>#<br># $Id: openser.cfg 1827 2007-03-12 15:22:53Z bogdan_iancu $<br>#<br># simple quick-start config script<br># Please refer to the Core CookBook at <a href="http://www.openser.org/dokuwiki/doku.php">
http://www.openser.org/dokuwiki/doku.php</a><br># for a explanation of possible statements, functions and parameters.<br>#<br><br># ----------- global configuration parameters ------------------------<br><br>debug=3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # debug level (cmd line: -dddddddddd)
<br>fork=yes<br>log_stderror=no&nbsp;&nbsp;&nbsp; # (cmd line: -E)<br>children=4<br><br># Uncomment these lines to enter debugging mode <br>#fork=no<br>#log_stderror=yes<br>#<br><br>port=5060<br><br># uncomment the following lines for TLS support
<br>disable_tls = 1<br>listen = tls:<a href="http://192.168.122.128:5061">192.168.122.128:5061</a><br>tls_verify_server = 1<br>tls_verify_client = 1<br>tls_require_client_certificate = 1<br>tls_method = TLSv1<br>tls_certificate = &quot;/usr/local/etc/openser/tls/user/user-
cert.pem&quot;<br>tls_private_key = &quot;/usr/local/etc/openser/tls/user/user-privkey.pem&quot;<br>tls_ca_list = &quot;/usr/local/etc/openser/tls/user/user-calist.pem&quot;<br><br># ------------------ module loading ----------------------------------
<br><br>#set module path<br>mpath=&quot;/usr/local/lib/openser/modules/&quot;<br><br># Uncomment this if you want to use SQL database<br>loadmodule &quot;mysql.so&quot;<br><br>loadmodule &quot;sl.so&quot;<br>loadmodule &quot;
tm.so&quot;<br>loadmodule &quot;rr.so&quot;<br>loadmodule &quot;maxfwd.so&quot;<br>loadmodule &quot;usrloc.so&quot;<br>loadmodule &quot;registrar.so&quot;<br>loadmodule &quot;textops.so&quot;<br>loadmodule &quot;mi_fifo.so&quot;
<br><br># Uncomment this if you want digest authentication<br># mysql.so must be loaded !<br>loadmodule &quot;auth.so&quot;<br>loadmodule &quot;auth_db.so&quot;<br><br># ----------------- setting module-specific parameters ---------------
<br><br># -- mi_fifo params --<br><br>modparam(&quot;mi_fifo&quot;, &quot;fifo_name&quot;, &quot;/tmp/openser_fifo&quot;)<br><br># -- usrloc params --<br><br>#modparam(&quot;usrloc&quot;, &quot;db_mode&quot;,&nbsp;&nbsp; 0)<br><br>
# Uncomment this if you want to use SQL database <br># for persistent storage and comment the previous line<br>modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)<br><br># -- auth params --<br># Uncomment if you are using auth module
<br>#<br>modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, yes)<br>#<br># If you set &quot;calculate_ha1&quot; parameter to yes (which true in this config), <br># uncomment also the following parameter)<br>#<br>modparam(&quot;auth_db&quot;, &quot;password_column&quot;, &quot;password&quot;)
<br><br># -- rr params --<br># add value to ;lr param to make some broken UAs happy<br>modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)<br><br># -------------------------&nbsp; request routing logic -------------------<br>
<br># main routing logic<br><br>route{<br><br>&nbsp;&nbsp;&nbsp; # initial sanity checks -- messages with<br>&nbsp;&nbsp;&nbsp; # max_forwards==0, or excessively long requests<br>&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header(&quot;10&quot;)) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;483&quot;,&quot;Too Many Hops&quot;);
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if (msg:len &gt;=&nbsp; 2048 ) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;513&quot;, &quot;Message too big&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; # we record-route all messages -- to make sure that
<br>&nbsp;&nbsp;&nbsp; # subsequent messages will go through our proxy; that&#39;s<br>&nbsp;&nbsp;&nbsp; # particularly good if upstream and downstream entities<br>&nbsp;&nbsp;&nbsp; # use different transport protocol<br>&nbsp;&nbsp;&nbsp; if (!method==&quot;REGISTER&quot;)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; record_route();
<br><br>&nbsp;&nbsp;&nbsp; # subsequent messages withing a dialog should take the<br>&nbsp;&nbsp;&nbsp; # path determined by record-routing<br>&nbsp;&nbsp;&nbsp; if (loose_route()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # mark routing logic in request<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: rr-enforced\r\n&quot;); 
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; if (!uri==myself) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # mark routing logic in request<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: outbound\r\n&quot;); <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # if you have some interdomain connections via TLS
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #if(uri=~&quot;@tls_domain1.net&quot;) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; t_relay(&quot;tls:<a href="http://domain1.net">domain1.net</a>&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #} else if(uri=~&quot;@tls_domain2.net&quot;) {<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; t_relay(&quot;tls:<a href="http://domain2.net">domain2.net</a>&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #&nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; #}<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; # if the request is for other domain use UsrLoc<br>&nbsp;&nbsp;&nbsp; # (in case, it does not work, use the following command
<br>&nbsp;&nbsp;&nbsp; # with proper names and addresses in it)<br>&nbsp;&nbsp;&nbsp; if (uri==myself) {<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (method==&quot;REGISTER&quot;) {<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # Uncomment this if you want to use digest authentication<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!www_authorize(&quot;localhost&quot;, &quot;subscriber&quot;)) {
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; www_challenge(&quot;localhost&quot;, &quot;0&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; save(&quot;location&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; lookup(&quot;aliases&quot;);
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!uri==myself) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: outbound alias\r\n&quot;); <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; route(1);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; # native SIP destinations are handled using our USRLOC DB<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!lookup(&quot;location&quot;)) {
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply(&quot;404&quot;, &quot;Not Found&quot;);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; append_hf(&quot;P-hint: usrloc applied\r\n&quot;); <br>&nbsp;&nbsp;&nbsp; };<br><br>&nbsp;&nbsp;&nbsp; route(1);<br>}<br><br><br>route[1] {
<br>&nbsp;&nbsp;&nbsp; # send it out now; use stateful forwarding as it works reliably<br>&nbsp;&nbsp;&nbsp; # even for UDP2TCP<br>&nbsp;&nbsp;&nbsp; if (!t_relay()) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_reply_error();<br>&nbsp;&nbsp;&nbsp; };<br>&nbsp;&nbsp;&nbsp; exit;<br>}<br><br>y el openserctrl<br><br>&nbsp;$Id: openserctlrc 1827 2007-03-12 15:22:53Z bogdan_iancu $
<br>#<br># openser control tool resource file<br>#<br># here you can set variables used in the openserctl<br><br>## your SIP domain<br>&nbsp;SIP_DOMAIN=<a href="http://127.0.0.1">127.0.0.1</a><br><br>## database type: MYSQL or PGSQL, by defaulte none is loaded
<br>&nbsp;DBENGINE=MYSQL<br><br>## database host<br>&nbsp;DBHOST=localhost<br><br>## database name<br>&nbsp;DBNAME=****************<br><br>## database read/write user<br>&nbsp;DBRWUSER=****************<br><br>## database read only user<br>&nbsp;DBROUSER=******************
<br><br>## password for database read only user<br>&nbsp;DBROPW=**************<br><br>## database super user<br>&nbsp;DBROOTUSER=***********<br><br>## type of aliases used: DB - database aliases; UL - usrloc aliases<br>## - default: none
<br>ALIASES_TYPE=&quot;DB&quot;<br><br>## control engine: FIFO or UNIXSOCK<br>## - default FIFO<br>&nbsp;CTLENGINE=&quot;FIFO&quot;<br><br>## path to FIFO file<br># OSER_FIFO=&quot;FIFO&quot;<br><br>## check ACL names; default on (1); off (0)
<br>&nbsp;VERIFY_ACL=1<br><br>## ACL names - if VERIFY_ACL is set, only the ACL names from below list<br>## are accepted<br>&nbsp;ACL_GROUPS=&quot;local ld int voicemail free-pstn&quot;<br><br>## presence of serweb tables - default &quot;no&quot;
<br>&nbsp;HAS_SERWEB=&quot;yes&quot;<br><br>## verbose - debug purposes - default &#39;0&#39;<br>&nbsp;VERBOSE=1<br><br>## do (1) or don&#39;t (0) store plaintext passwords<br>## in the subscriber table - default &#39;1&#39;<br>&nbsp;STORE_PLAINTEXT_PW=0
<br><br><br>y de paso pregunto para que la gente pueda hablar tiene que estar registrada donde pongo la funcion if (!is_register())exit(0); dentro de route{} ??<br><br><br><br><div><span class="gmail_quote">El día 15/09/07, 
<b class="gmail_sendername">Saúl Ibarra</b> &lt;<a href="mailto:saghul@gmail.com">saghul@gmail.com</a>&gt; escribió:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Como tienes esa parte del fichero openser.cfg y openserctlrc?<br><br>El 15/09/07, Javier Allende Astigarraga &lt;<a href="mailto:legolas.klaitxu@gmail.com">legolas.klaitxu@gmail.com</a>&gt; escribió:<br>&gt; pos nada acabo de hacer eso y sigo con la misma mierda
<br>&gt; sudo make clean include_modules=&quot;mysql&quot;<br>&gt; sudo make all include_modules=&quot;mysql&quot;<br>&gt; sudo make install include_modules=&quot;mysql&quot;<br>&gt;<br>&gt; y sigo con el mismo puto fallo
<br>&gt;<br>&gt; openser -C<br>&gt;<br>&gt; INFO : mi_fifo:mi_destroy:memory for the child&#39;s mi_fifo_pid was not<br>&gt; allocated -&gt;nothing to destroy<br>&gt;<br>&gt; El día 15/09/07, Saúl Ibarra &lt;<a href="mailto:saghul@gmail.com">
saghul@gmail.com</a>&gt; escribió:<br>&gt; &gt; Si lo has compilado tu mismo, haz un make clean y luego vuelve a<br>&gt; &gt; compilar incluyendo todos los módulos que necesites, y tranki que la<br>&gt; &gt; config no te la borra :P
<br>&gt; &gt;<br>&gt; &gt; El 15/09/07, Javier Allende Astigarraga &lt;<a href="mailto:legolas.klaitxu@gmail.com">legolas.klaitxu@gmail.com</a> &gt;<br>&gt; escribió:<br>&gt; &gt; &gt; Bueno pos tras cargar mi memoria virtual intento arrancar Openser y me
<br>&gt; dice<br>&gt; &gt; &gt; que el modulo de mysql.so esta obsoleto con lo cual me quedo como asi :|<br>&gt; ,<br>&gt; &gt; &gt; pero bueno pienso habra sido problema de la instalación de TLS que<br>&gt; tendria<br>&gt; &gt; &gt; que haber añadido el modulo de mysql por realizo otra instalación (sin
<br>&gt; hacer<br>&gt; &gt; &gt; clean,eso lo voy a a probar ahora),me lo instala pero no me arranca<br>&gt; openser<br>&gt; &gt; &gt; me dice listening : Aliases: y de repente la petada del mi_fifo que si<br>&gt; lo<br>&gt; &gt; &gt; tengo puesto en el 
openser.cfg y en openserctrl .<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; alguna idea??<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; =====================================================<br>&gt; &gt; &gt; Legolas_Bilbao[ID2006][GKR]
<br>&gt; &gt; &gt; Dios creo un equipo Perfecto a los demas los lleno de extranjeros<br>&gt; &gt; &gt; <a href="http://www.forosindicedonkey.com">http://www.forosindicedonkey.com</a><br>&gt; &gt; &gt; <a href="http://usuarios.lycos.es/ligaforo/">
http://usuarios.lycos.es/ligaforo/</a><br>&gt; &gt; &gt; =====================================================<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; Users-es mailing list<br>&gt; &gt; &gt; 
<a href="mailto:Users-es@openser.org">Users-es@openser.org</a><br>&gt; &gt; &gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users-es">http://openser.org/cgi-bin/mailman/listinfo/users-es</a><br>&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Saúl -- &quot;Some people say why, other just say, why not.&quot;<br>&gt; &gt;<br>&gt; ----------------------------------------------------------------
<br>&gt; &gt; <a href="http://www.saghul.net/">http://www.saghul.net/</a><br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Users-es mailing list<br>&gt; &gt; <a href="mailto:Users-es@openser.org">
Users-es@openser.org</a><br>&gt; &gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users-es">http://openser.org/cgi-bin/mailman/listinfo/users-es</a><br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; =====================================================
<br>&gt; Legolas_Bilbao[ID2006][GKR]<br>&gt; Dios creo un equipo Perfecto a los demas los lleno de extranjeros<br>&gt; <a href="http://www.forosindicedonkey.com">http://www.forosindicedonkey.com</a><br>&gt; <a href="http://usuarios.lycos.es/ligaforo/">
http://usuarios.lycos.es/ligaforo/</a><br>&gt; =====================================================<br>&gt; _______________________________________________<br>&gt; Users-es mailing list<br>&gt; <a href="mailto:Users-es@openser.org">
Users-es@openser.org</a><br>&gt; <a href="http://openser.org/cgi-bin/mailman/listinfo/users-es">http://openser.org/cgi-bin/mailman/listinfo/users-es</a><br>&gt;<br>&gt;<br><br><br>--<br>Saúl -- &quot;Some people say why, other just say, why not.&quot;
<br>----------------------------------------------------------------<br><a href="http://www.saghul.net/">http://www.saghul.net/</a><br><br>_______________________________________________<br>Users-es mailing list<br><a href="mailto:Users-es@openser.org">
Users-es@openser.org</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users-es">http://openser.org/cgi-bin/mailman/listinfo/users-es</a><br></blockquote></div><br><br clear="all"><br>-- <br>=====================================================
<br>Legolas_Bilbao[ID2006][GKR]<br>Dios creo un equipo Perfecto a los demas los lleno de extranjeros<br><a href="http://www.forosindicedonkey.com">http://www.forosindicedonkey.com</a><br><a href="http://usuarios.lycos.es/ligaforo/">
http://usuarios.lycos.es/ligaforo/</a><br>=====================================================