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: [email protected]
phone: +34669448337


On Thu, Nov 14, 2019 at 8:27 PM egemen ulus <[email protected]> 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to