Ok it is working, with the last change and restarting opensips, i can now register with <a href="http://domain.ds.net">domain.ds.net</a>.<br><br>Thanks for everything.<br><br><div class="gmail_quote">2012/7/6 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok, I modify local.inc.php.<br><br>$talk_to_this_assoc_id = 1 ; -> $talk_to_this_assoc_id = 0;<br><br>and this make the domains tool page to prompts me "Command successfully executed", but i still can not register with the server with <a href="http://domain.ds.net" target="_blank">domain.ds.net</a>.<br>
<br>Please help.<div class="HOEnZb"><div class="h5"><br> <br><div class="gmail_quote">2012/7/6 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Well, i don't know if I am using the correct fifo to communicate the domains tool of opensips-cp. This are the files in /opensips-cp/config/tools/system/domains path:<br><br>db.inc.php<br><?php<br>//database host<br>
$config->db_host = "localhost";<br> //database port - leave empty for default<br> $config->db_port = "";<br> //database connection user<br> $config->db_user = "root";<br> //database connection password<br>
$config->db_pass = "";<br> //database name<br> $config->db_name = "opensips";<br> if ($config->db_port != "") $config->db_host = $config->db_host . ":" . $config->db_port;<br>
?><br><br>and<br><br>local.inc.php<br><br><?php<br> //database tables<br> $config->table_domains = "domain";<br><br><br> // system to talk to via MI ?<br> $talk_to_this_assoc_id = 1 ;<br><br>// $config->reply_fifo_filename="webfifo_".rand();<br>
// $config->reply_fifo_path="/tmp/".$config->reply_fifo_filename;<br><br>?><br><br>In the configuration file of opensips the fifo module is configured in this way:<br><br>#### FIFO Management Interface<br>
loadmodule "mi_fifo.so"<br>modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")<br>modparam("mi_fifo", "fifo_mode", 0666)<br><br><br>I don't know how to debug opensips-cp to check what is the error, if the fifo is incorrect or the rights of the fifo are wrong.<br>
<br>Thanks for your help.<div><div><br><br><br><br><div class="gmail_quote">2012/7/6 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi there, I create a new configuration file with osipscfg tool and add the option multidomain. With this, now I can connect using the public ip address of the domain but still not with the uri <a href="http://domain.ds.net" target="_blank">domain.ds.net</a>, the problem of "sorry -- cannot open write fifo" is still appearing. <br>
<br>Please help me configuring the opensips-cp tool to fix this problem.<div><div><br><br><div class="gmail_quote">2012/7/6 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody:<br><br>I can not Register to opensips proxy using the domain created with the domains tool of opensips-cp (<a href="http://domain.ds.net" target="_blank">domain.ds.net</a>). The error code of 476 was because i change the ip address of the virtual machine from dhcp to a static address but i did not set the dns server address. When I did it, the error became 483 ( Too May Hops ). I think the problem is in the domains tool of opensips-cp. When i push the button "Apply changes to server" this error appears "sorry -- cannot open write fifo". I added this lines to the file ../opensips-cp/config/tools/system/domains/local.inc.php<br>
<br>$config->reply_fifo_filename = "webfile_".rand();<br>$config->reply_fifo_path = "/tmp/".$config->reply_fifo_filename;<br><br>But this does nothing.<br><br>Can anybody please help me?<div>
<div><br><br>
<div class="gmail_quote">2012/7/4 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I modify my VMWare configuration, and set it in bridge mode so the virtual machine ip address becomes 192.178.114.220.<br><br>The binding in my router now is:<br><br><a href="http://domain.ds.net:5060" target="_blank">domain.ds.net:5060</a> ---> <a href="http://192.178.114.220:5060" target="_blank">192.178.114.220:5060</a>, now i can REGISTER from the host machine and the virtual machine, but i can't register from outside of the NAT, i get this SIP response from opensips:<br>
<br>----<br><br>REGISTER sip:<a href="http://domain.ds.net:5060" target="_blank">domain.ds.net:5060</a> SIP/2.0<br>Via: SIP/2.0/UDP 160.210.10.200:1096;branch=z9hG4bK-d8754z-6c79007cc231fafc-1---d8754z-;rport<br>Max-Forwards: 70<br>
Contact: <sip:2427001@160.210.10.200:1096;rinstance=dc9358201760c93a><br>
To: <<a href="http://sip:2427001@domain.ds.net:5060" target="_blank">sip:2427001@domain.ds.net:5060</a>><br>From: <<a href="http://sip:2427001@domain.ds.net:5060" target="_blank">sip:2427001@domain.ds.net:5060</a>>;tag=206dd1f8<br>
Call-ID: ZTc1ZjBjMTZlNTdhNmJhMTQ0NmVhY2ZjY2IyZDA2NGY.<br>
CSeq: 1 REGISTER<br>Expires: 3600<br>Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO<br>User-Agent: X-Lite release 5.0.0 stamp 67284<br>Content-Length: 0<br><br>------<br><br>SIP/2.0 476 Unresolvable destination (476/TM)<br>
Via: SIP/2.0/UDP 160.210.10.200:1096;received=160.210.10.200;branch=z9hG4bK-d8754z-6c79007cc231fafc-1---d8754z-;rport=1096<br>To: <<a href="http://sip:2427001@domain.ds.net:5060" target="_blank">sip:2427001@domain.ds.net:5060</a>>;tag=8ba51fd6231b3adf4060dc0daaea5185-887c<br>
From: <<a href="http://sip:2427001@domain.ds.net:5060" target="_blank">sip:2427001@domain.ds.net:5060</a>>;tag=206dd1f8<br>Call-ID: ZTc1ZjBjMTZlNTdhNmJhMTQ0NmVhY2ZjY2IyZDA2NGY.<br>CSeq: 1 REGISTER<br>Server: OpenSIPS (1.8.0-notls (i386/linux))<br>
Content-Length: 0<br><br>---<br><br>Can someone help me to fix this.<div><div><br><br><br><br><div class="gmail_quote">2012/7/3 Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everybody, i installed opensips in a virtual machine with red hat 5.2, and i configured it with a residential script following the webbinar for installing opensips 1.8, I created two domains in the database: <a href="http://domain.ds.net" target="_blank">domain.ds.net</a> and the ip address of the virtual machine ( VMWare ). I can register using a softphone (pjsip) inside the same virtual machine, but when i try to register outside the machine an infinite loop is created, and i don't know what is going on.<br>
<br>I created a user 2427000 , domain.net.ds, i create the binding roule for connect that port to the port of the host machine with an ip address of <a href="http://192.178.114.200:4000" target="_blank">192.178.114.200:4000</a> and then i create the roule in the VMWare Nat Administrator to connect the host ip and port with the virtual machine ip and port, so the model is this:<br>
<br><a href="http://domain.ds.net:4000" target="_blank">domain.ds.net:4000</a> ----> <a href="http://192.178.114.200:4000" target="_blank">192.178.114.200:4000</a> -----> <a href="http://192.178.3.120:5060" target="_blank">192.178.3.120:5060</a> ( both protocols udp and tcp )<br>
<br><br>So when i try to register using a xlite softphone, i configure my softphone with this parameters:<br><br>User ID: 2427000<br>Domain: domain.ds:4000<br>Set Outbound via Proxy: <a href="http://domain.ds.net:4000" target="_blank">domain.ds.net:4000</a><br>
<br>Could anybody please help me?<br><br>Thanks a lot.<br>
</blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>