[OpenSIPS-Users] 483 Too Many Hops on GCP

David Villasmil david.villasmil.work at gmail.com
Thu Nov 14 16:05:17 EST 2019


Didn't i respond on this already?

You only have no aliases, you need to add an alias.
i.e.: If the PUBLIC IP address is 1.2.3.4 you need to add an alias:
alias=1.2.3.4

Otherwise, there is no way for the proxy to know the packet is directed to
it.

https://www.opensips.org/Documentation/Script-CoreParameters-3-0#toc5

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Thu, Nov 14, 2019 at 8:27 PM egemen ulus <ulus_egemen at hotmail.com> wrote:

> Hi,
> I've installed Opensips 2.4 on a GCP vm, when I try to register my
> softphone to server, I am getting "483 too many hops" error. I am aware
> that there is loop on the server side, it sends the packet itself. But
> could not fix it. I have private and public IP addresses defined on google
> cloud vm.
>
> Here is the my conf and logs:
>
>
> *auto_aliases=no *
>
> *listen=udp:10.138.0.3:5060 <http://10.138.0.3:5060>  # private ip address
> *
> *listen=tcp:10.138.0.3:5060 <http://10.138.0.3:5060>*
>
> logs:
>
> *opensips[2671]: Nov 12 18:56:53 [2727] DBG:core:parse_headers: via found,
> flags=22 *
>
> *opensips[2671]: Nov 12 18:56:53 [2727] DBG:core:parse_via_param: found
> param type 234, <received> = <34.83.194.202>; state=6 *
>
> *opensips[2671]: Nov 12 18:56:53 [2727] DBG:core:parse_via_param: found
> param type 232, <branch> = <z9hG4bK75e1.93b4e3a6.0>; state=16 *
> *opensips[2671]: Nov 12 18:56:53 [2727] DBG:core:parse_via: end of header
> reached, state=5*
>
> *thank you for help from now!*
> *Egemen*
> _______________________________________________
> 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/20191114/7b1e66b5/attachment-0001.html>


More information about the Users mailing list