Hi,
I have ser 0.9.3 installed on freebsd 4.10, everything else seems to work fine, except that it says host is down in the logs. It happens only after i run the softphone to test. I have port forwarded (the client's behind a NAT) but to no avail.
Jul 13 14:46:05 flamejob ser[38889]: msg_send: ERROR: udp_send failed Jul 13 14:47:24 flamejob ser[38889]: ERROR: udp_send: sendto(sock,0x28411478,551,0,0x28408870,16): Host is down(64)
and here's my ser.cfg
debug=3 # debug level (cmd line: -dddddddddd) #fork=yes #log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode fork=no log_stderror=yes */
check_via=no # (cmd. line: -v) dns=no # (cmd. line: -r) rev_dns=no # (cmd. line: -R) port=5060 children=4 fifo="/tmp/ser_fifo" fifo="/tmp/ser_fifo" fifo_db_url="mysql://root:password@localhost/ser" # ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so" loadmodule "/usr/local/lib/ser/modules/tm.so" loadmodule "/usr/local/lib/ser/modules/rr.so" loadmodule "/usr/local/lib/ser/modules/maxfwd.so" loadmodule "/usr/local/lib/ser/modules/usrloc.so" loadmodule "/usr/local/lib/ser/modules/registrar.so" loadmodule "/usr/local/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication # mysql.so must be loaded ! loadmodule "/usr/local/lib/ser/modules/auth.so" loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database # for persistent storage and comment the previous line modparam("usrloc", "db_mode", 2) # -- auth params -- # Uncomment if you are using auth module # modparam("auth_db", "calculate_ha1", yes) # # If you set "calculate_ha1" parameter to yes (which true in this config), # uncomment also the following parameter) # modparam("auth_db", "password_column", "password") # -- rr params -- # add value to ;lr param to make some broken UAs happy
Thanks, Zaihan
On Jul 13, 2005 at 19:02, Muhammad Nuzaihan Kamalluddin nuzaihan@unrealasia.net wrote:
Hi,
I have ser 0.9.3 installed on freebsd 4.10, everything else seems to work fine, except that it says host is down in the logs. It happens only after i run the softphone to test. I have port forwarded (the client's behind a NAT) but to no avail.
Jul 13 14:46:05 flamejob ser[38889]: msg_send: ERROR: udp_send failed Jul 13 14:47:24 flamejob ser[38889]: ERROR: udp_send: sendto(sock,0x28411478,551,0,0x28408870,16): Host is down(64)
Probably ser tries to send a message to a host on the local network, which does not respond/is down (see arp(4)/EHOSTDOWN). Dumping the whole traffic (udp, arp & icmp) when this happens will help finding out what's really happening. It looks more like a host config/routing problem.
Andrei