[OpenSIPS-Users] 483 response for REGISTER with opensips on a VirtualMachine

Brett Nemeroff brett at nemeroff.com
Fri Jul 6 22:49:42 CEST 2012


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.

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.

Good luck!
-Brett



On Fri, Jul 6, 2012 at 2:35 PM, Ignacio Gonzalez <mylaneza at gmail.com> wrote:

> Hi everybody:
>
> I can not Register to opensips proxy using the domain created with the
> domains tool of opensips-cp (domain.ds.net). 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
>
> $config->reply_fifo_filename = "webfile_".rand();
> $config->reply_fifo_path = "/tmp/".$config->reply_fifo_filename;
>
> But this does nothing.
>
> Can anybody please help me?
>
>
> 2012/7/4 Ignacio Gonzalez <mylaneza at gmail.com>
>
>> I modify my VMWare configuration, and set it in bridge mode so the
>> virtual machine ip address becomes 192.178.114.220.
>>
>> The binding in my router now is:
>>
>> domain.ds.net:5060 ---> 192.178.114.220:5060, 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:
>>
>> ----
>>
>> REGISTER sip:domain.ds.net:5060 SIP/2.0
>> Via: SIP/2.0/UDP 160.210.10.200:1096
>> ;branch=z9hG4bK-d8754z-6c79007cc231fafc-1---d8754z-;rport
>> Max-Forwards: 70
>> Contact: <sip:2427001 at 160.210.10.200:1096;rinstance=dc9358201760c93a>
>> To: <sip:2427001 at domain.ds.net:5060>
>> From: <sip:2427001 at domain.ds.net:5060>;tag=206dd1f8
>> Call-ID: ZTc1ZjBjMTZlNTdhNmJhMTQ0NmVhY2ZjY2IyZDA2NGY.
>> CSeq: 1 REGISTER
>> Expires: 3600
>> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
>> SUBSCRIBE, INFO
>> User-Agent: X-Lite release 5.0.0 stamp 67284
>> Content-Length: 0
>>
>> ------
>>
>> SIP/2.0 476 Unresolvable destination (476/TM)
>> Via: SIP/2.0/UDP 160.210.10.200:1096
>> ;received=160.210.10.200;branch=z9hG4bK-d8754z-6c79007cc231fafc-1---d8754z-;rport=1096
>> To: <sip:2427001 at domain.ds.net:5060
>> >;tag=8ba51fd6231b3adf4060dc0daaea5185-887c
>> From: <sip:2427001 at domain.ds.net:5060>;tag=206dd1f8
>> Call-ID: ZTc1ZjBjMTZlNTdhNmJhMTQ0NmVhY2ZjY2IyZDA2NGY.
>> CSeq: 1 REGISTER
>> Server: OpenSIPS (1.8.0-notls (i386/linux))
>> Content-Length: 0
>>
>> ---
>>
>> Can someone help me to fix this.
>>
>>
>>
>>
>> 2012/7/3 Ignacio Gonzalez <mylaneza at gmail.com>
>>
>>> 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:
>>> domain.ds.net 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.
>>>
>>> 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
>>> 192.178.114.200:4000  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:
>>>
>>> domain.ds.net:4000      ---->       192.178.114.200:4000   ----->
>>>    192.178.3.120:5060 ( both protocols udp and tcp )
>>>
>>>
>>> So when i try to register using a  xlite softphone, i configure my
>>> softphone with this parameters:
>>>
>>> User ID: 2427000
>>> Domain: domain.ds:4000
>>> Set Outbound via Proxy: domain.ds.net:4000
>>>
>>> Could anybody please help me?
>>>
>>> Thanks a lot.
>>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120706/90a18d32/attachment.htm>


More information about the Users mailing list