If the new domain isn't being written to the table, then opensips will think that the domain is for another server and will attempt to relay it. If that domain can't be resolved, you'll get this.<br><br>The FIFO error you pointed out probably is a factor in this. You'll need to be sure your configuration is set to create a fifo and that it's using the proper fifo. You may also want to check the permissions on the fifo to be sure the webserver user can actually access the fifo. <br>
<br>Good luck!<br>-Brett<br><br><br><br><div class="gmail_quote">On Fri, Jul 6, 2012 at 2:35 PM, Ignacio Gonzalez <span dir="ltr"><<a href="mailto:mylaneza@gmail.com" target="_blank">mylaneza@gmail.com</a>></span> wrote:<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 class="HOEnZb">
<div class="h5"><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><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>