Hi,
Here is my setup:
- The router has ip 192.168.1.1 and has a built-in wifi access point.
- My laptop is connected through wifi and has ip 192.168.1.2 (network
192.168.1.0/24)
- Another access point is attached to my laptop's eth0 ethernet, which
has ip 192.168.100.1 (network 192.168.100.0/24).
- The router is too far and so the laptop shares the connection through
the access point (which has ip 192.168.100.2).
- My mobile phone is connected with ip 192.168.100.10 using the access
point attached to the laptop and tries to login to an asterisk server in
a completely different network outside mine.
Here is my siproxd.conf:
if_inbound = eth0
if_outbound = wlan1
host_outbound = <external_ip>
hosts_allow_reg = 192.168.100.0/24
sip_listen_port = 5060
daemonize = 0
silence_log = 0
user = siproxd
registration_file = /var/lib/siproxd_registrations
pid_file = /var/run/siproxd/siproxd.pid
rtp_proxy_enable = 1
rtp_port_low = 7070
rtp_port_high = 7089
rtp_timeout = 300
default_expires = 600
debug_level = 0x00000080
debug_port = 0
And here is the error in the log:
ERROR:sip_utils.c:627 I'm trying to delete a VIA but it's not mine!
host=192.168.1.2
192.168.1.2 is laptop's wlan1 ip.
I'm using latest snapshot of siproxd (20111009).
That's obviously using 192.168.100.1 as proxy server in my mobile phone.
Thanks,
Niccolò
|