Page 1 of 1

problem with alternative ports (ip port section)

PostPosted: Wed Feb 01, 2017 11:36 am
by yummiweb
hello,

i have a problem with the "ip port" option in "main" "voip device" (double click) section.
it seems that this optional "ip port" function isnt working correctly.

edit addendum: no matter what port is set in this section, phoneamego is using port 80.
(so maybe it is not nessessary to read the whole post)

if i leave this option "free" and using standard ports (no port redirection) everything works fine.
but if i set a special port in my network (e.g redirection to 42104) and set this port (42104) in this section,
phone amego cannot send orders to the voip phone.

why i think my own settings are correct:
if i set a port redirection in my network to (eg. 42104) and use a command by browser like "192.168.22.100:42104/command.htm?key=OFFHOOK"
(note the given port 42104 in this address) the voip phone (snom) is reacting on this command as expected.
but within phoneamego it isnt work with this port (or other different ports)

please can you check the correct function of the "ip port option" within phoneamego?
my phoneamego version is: 1.4.39

why do i need to use special ports?
i have to setup phoneamego in a special network configuration where the phoneamego clients (desktops)
and the voip server (+voip phones) are in different networks.
(the intend is to have it in different networks with nat)

eg.:
the phoneamego clients (desktops) are in the main network 192.168.11.0/8.
the voip server (a special device) is connected over his own "wan" port to the main network.
the voip server wan ip is 192.168.11.100) and he makes his own (sub)network 192.168.22.0/8.
his own lan ip (the voip service) is 192.168.22.100 and the voip phones has 192.168.22.101-110.

therefore the voip server/phones network is "nated" within the main network,
so wee needs a special portforwarding to connect from the phone amego clients to the voip phones
and i have to use a different port for each device to reach all teh voip phones over a single ip (wan ip from voip server)
e.g.:
(for voip phone 4)
from wan ip (192.168.11.100) port 42104 to lan ip 192.168.22.104 (voip phone) port 80 (or something else as configured in snom config)
(for voip phone 5)
from wan ip (192.168.11.100) port 42105 to lan ip 192.168.22.105 (voip phone) port 80 (or something else as configured in snom config)

the other way round (from voip phone to the phone amego client) the connection works without tweakings.
(in this direction no port redirection is necessary)

thank you for help!

regards yummiweb

Re: problem with alternative ports (ip port section)

PostPosted: Sat Feb 04, 2017 5:24 pm
by psichel_adm
The ip port option is currently implemented for Polycom IP phones. What kind of phone do you have?
I can extend this for other phones but would like to confirm which phone to test.

Kind Regards,

- Peter