Thanks harry,Andrei for the invaluable help, it now works, however it stalls, i can see it's connecting (using debug=6)
Jul 13 21:15:47 flamejob ser[60891]: Maxfwd module- initializing Jul 13 21:17:49 flamejob /kernel: p:zaihan@unrealasia.net>;tag=274205658410751719 Jul 13 21:39:01 flamejob /kernel: <118: SIP/2.0/UDP 192.168.1.6;branch=z9hG4bK315.6e6d3c66.0 Jul 13 21:39:01 flamejob /kernel: <1ealasia.net>;tag=b42c293d3b69ef4e5d7c66dde268b4d8.10cc
the server is flamejob.local.net, and i'm at 192.168.0.100, i tcpdumped all the traffic, grepped flamejob.local.net (i'm not doing anything except SIP to the server)..
22:08:20.973149 IP (tos 0x0, ttl 64, id 31797, offset 0, flags [none], length: 474) 192.168.0.100.sip > flamejob.local.net.sip: [udp sum ok] UDP, length: 446 22:08:21.091281 IP (tos 0x10, ttl 63, id 44187, offset 0, flags [none], length: 630) flamejob.local.net.sip > 192.168.0.100.sip: [udp sum ok] UDP, length: 602 22:08:21.322839 IP (tos 0x0, ttl 64, id 31812, offset 0, flags [none], length: 474) 192.168.0.100.sip > flamejob.local.net.sip: [udp sum ok] UDP, length: 446 22:08:21.457945 IP (tos 0x10, ttl 63, id 44257, offset 0, flags [none], length: 631) flamejob.local.net.sip > 192.168.0.100.sip: [udp sum ok] UDP, length: 603 22:09:00.678502 IP (tos 0x0, ttl 64, id 31940, offset 0, flags [none], length: 363) 192.168.0.100.sip > flamejob.local.net.sip: [udp sum ok] UDP, length: 335 22:09:00.683613 IP (tos 0x10, ttl 63, id 44263, offset 0, flags [none], length: 626)
On 13 Jul 2005, at 7:11 PM, harry gaillac wrote:
Use nathelper rtpproxy/mediaproxy in nat context
--- Muhammad Nuzaihan Kamalluddin nuzaihan@unrealasia.net a écrit :
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
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com