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