From: Thomas R. <tr...@gm...> - 2007-06-23 07:38:52
|
Hi Col, Two things. First, the ERROR you describe about trying to delete a VIA that is not mine: There was a bug that did take the "real" external IP address (host_outbound config directive) to be a siproxd local address - resulting in this error (usually during incoming responses only). Second, you say you need to use another (chained) proxy to get things work. This may be perfectly legal - some providers require this (possibly to overcome firewall/NAT issues on their own side). Not using this additional proxy will result in "things almost working". However, this should be somehow documented on your providers side (configuration help / examples that show you requires their proxy). The bug (issue #1) is fixed, you may want to try the latest snapshot, I hope the ERRORs should now be gone completely - and maybe also the need to reset the phones. Regards, /Thomas On 21 Jun, Colin Guthrie wrote: > Hi, > > I've just starting using siproxd as it appears to be the ideal > solution to my network setup. > > We have a small office and are behind a NAT router and want to use > several hardware phones and Ekiga in our office. > > Everything is routed through our main office server which runs siproxd > but it does not do the NAT, this is left to our ADSL Modem which also > DNATs ALL traffic back to this server for incoming connections. > > On this server the external network is connected to via eth0 and the > internal via eth1. The external subnet (to talk to the router) is > 192.168.0.0/24 and the internal is 192.168.112.0/24. > > My /etc/siproxd.conf is as below. > > Through trial and error, I have found that I need to connect via an > outgoing proxy in order to make things work. Not doing so will give > the above errors (as per the subject). Unfortunately, recently I've > found that even doing so still appears to log the occasional error > about deleting a VIA that is not mine, even tho' the full error lists > the IP address specified in host_outbound. I would have through that > siproxd should consider the host_outbound IP to be "one of it's own!"? > Also I found I needed the three part outbound proxy for things to work > reliably. This was also through trial and error. I would have thought > that no proxy should be needed here and that I SHOULD be able to > connect siproxd directly to the internet due to the fact that all > incoming connections are DNAT'ed back to the server from the firewall? > Or is there perhaps a problem in that the outgoing packets from the > server are NATed by the router? If so should I try to disable this? > (e.g. move the NATing to the server?) From what I've read this does > not appear to be a problem. > > The phones in question are not setup to use STUN or any other NAT > technique. They are just configured to use an outgoing proxy which > points to the internal machine. > > I have another problem relating to a message "Unable to Parse SIP > message. This is not good." but I'll write about that in another mail. > If someone could say what they would need from a debug log for helping > to fix this I could make sure this is done correctly first post. Also > any advice as to what to blank out would help! > > Generally I find that even when things work for the most part, I will > have to reset all the phones once a day which is very annoying! > > I am using the latest snapshot build of siproxd. > > FWIW I'm connecting to Gradwell's VOIP service. > > I know this list does not have much traffic so if there is a better > way to request some help then please let me know! > > Thanks. > > Col > > > > if_inbound = eth1 > if_outbound = eth1 > host_outbound = <OUR EXTERNAL STATIC IP> > hosts_allow_reg = 192.168.0.0/16 > sip_listen_port = 5060 > daemonize = 1 > silence_log = 1 > log_calls = 1 > user = siproxd > registration_file = /var/lib/siproxd/siproxd_registrations > autosave_registrations = 300 > pid_file = /var/run/siproxd/siproxd.pid > rtp_proxy_enable = 1 > rtp_port_low = 7070 > rtp_port_high = 7089 > rtp_timeout = 300 > rtp_dscp = 46 > rtp_input_dejitter = 100000 > rtp_output_dejitter = 100000 > default_expires = 600 > debug_level = 0x00000004 > debug_port = 0 > outbound_domain_name = lon-pbx-3.gradwell.net > outbound_domain_host = nat1.gradwell.net > outbound_domain_port = 5082 > pi_shortdial_enable = 0 > pi_shortdial_akey = *00 > pi_shortdial_entry = 17474743246 > pi_shortdial_entry = 17474745000 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Siproxd-users mailing list > Sip...@li... > https://lists.sourceforge.net/lists/listinfo/siproxd-users -- -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GE d s+: a C+++ UL+++ P+++ L++++ E-- W++ N++ o+ K w-- O- M- V PS+ PE Y-- PGP++ t+ 5++ X R tv+ b+ DI+ D+ G e++ h r+++ y+++ ------END GEEK CODE BLOCK------ |