[ASTPPCOM-545] Fresh Install ASTPP will randomly bind ipv6 over ipv4 on restart Created: 19/Aug/19 Updated: 24/May/20 Resolved: 27/Sep/19 |
|
| Status: | Done |
| Project: | ASTPP Community |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | ||
| Reporter: | redbehrend | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
So I found out last night with a fresh install of ASTPP 4.0.1 that freeswitch will randomly bind to ipv6 over ipv4 which stops everything from working. If you keep restarting it will randomly select ipv4 on next reboot or a couple in. Nothing was changed outside of the default ASTPP setup. |
| Comments |
| Comment by Samir Doshi [ 28/Aug/19 ] |
|
Hi [~Redbehrend] That is strange. Please provide the following information: 1. You sip profile settings |
| Comment by redbehrend [ 19/Sep/19 ] |
|
Sorry didn't see the alert on my github here it's all defaults except for the gateway SIP Profiles are default by ASTPP ifconfig output lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 sofia status output default profile sip:mod_sofia@XXX.XXX.XXX.XXX:5060 RUNNING (0) |
| Comment by redbehrend [ 27/Sep/19 ] |
|
Checking this out more it's deff something with your guys config or maybe your version of freeswitch you are using has a bug. With other freeswitch opensource projects and default freeswitch if you disable ipv6 on WAN it's fine and LAN/CLI still works. Not sure if it's sharing the ports or configs in ASTPP but you have a ipv6 auto or :: somewhere that tries to use ipv6. Notes: Maybe you have hard coded in the adapter names or positions instead of searching correctly when binding or during setup? So if a system has more than 1 adapter it doesn't setup right to ipv4? Not sure without looking into it more just shooting in the dark. Seems when a system doesn't name the first adapter eth1 I get errors during setup also but no idea if they are related like when I use virtual systems that name them things like ens1, vns1, etc... |
| Comment by Devang Nathwani [ 24/May/20 ] |
|
Hello, In fs_cli, if you execute eval $${local_ip_v4} You should get ipv4. Thanks. |