I tried to change the config in ser.cfg , listen=192.168.10.1 ( private ip ) to
listen=234.234.234.234 ( public ip ), but i get some error in
"/var/log/messages" as below :
rtpproxy: Starting SER RTP Proxy server: rtpproxy
rtpproxy: .
rc: Starting rtpproxy: succeeded
xfs: xfs startup succeeded
xfs: ignoring font path element /usr/X11R6/lib/X11/fonts/cyrillic (unreadable)
ser: WARNING: fix_socket_list: could not rev. resolve 234.234.234.234
ser: WARNING: fix_socket_list: could not rev. resolve 234.234.234.234
ser: Listening on
ser: udp: 234.234.234.234 [234.234.234.234]:5060
ser: tcp: 234.234.234.234 [234.234.234.234]:5060
ser: Aliases:
ser:
Jun 30 15:41:03 localhost ser: ser startup succeeded
Jun 30 15:41:03 localhost /usr/local/sbin/ser[2356]: Maxfwd module- initializing
Jun 30 15:41:05 localhost /usr/local/sbin/ser[2356]: INFO: udp_init: SO_RCVBUF is
initially 65535
Jun 30 15:41:05 localhost /usr/local/sbin/ser[2356]: INFO: udp_init: SO_RCVBUF is finally
131070
Jun 30 15:41:05 localhost /usr/local/sbin/ser[2356]: ERROR: udp_init: bind(5, 0x80fd674,
16) on 234.234.234.234: Cannot assign requested address
tks a lot !
Freeman
Zeus Ng <zeus.ng(a)isquare.com.au> 說:
Are you running SER in the private address space (10.x, 172.x or 192.168.x)?
That does not run well unless you know how to use record_route_preset() and
advertised_address. I recommend you move your SER to public address space.
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org On Behalf Of Freeman
Sent: Thursday, 30 June 2005 12:49 PM
To: serusers(a)lists.iptel.org
Hi,
I tried to follow the manual "GettingStarted 04 -
2005-05-26" to create ser.cfg ( for RTPProxy ), i found some
error in "/var/log/messages",
rtpproxy: Starting SER RTP Proxy server: rtpproxy
rtpproxy: .
rc: Starting rtpproxy: succeeded
ser: WARNING: fix_socket_list: could not rev. resolve 192.168.10.1
ser: WARNING: fix_socket_list: could not rev. resolve 192.168.10.1
ser: Listening on
ser: udp: 192.168.10.1 [192.168.10.1]:5060
ser: tcp: 192.168.10.1 [192.168.10.1]:5060
ser: Aliases:
ser:
ser: ser startup succeeded
/usr/local/sbin/ser[2353]: Maxfwd module- initializing
/usr/local/sbin/ser[2353]: INFO: udp_init: SO_RCVBUF is
initially 65535
/usr/local/sbin/ser[2353]: INFO: udp_init: SO_RCVBUF is finally 131070
/usr/local/sbin/ser[2373]: INFO: fifo process starting: 2373
/usr/local/sbin/ser[2373]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2373]: SER: open_uac_fifo: fifo server up
at /tmp/ser_fifo...
/usr/local/sbin/ser[2375]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2380]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2381]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2382]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2377]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2383]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2389]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2353]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2388]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2387]: rtpp_test: RTP proxy found,
support for it enabled
/usr/local/sbin/ser[2379]: rtpp_test: RTP proxy found,
support for it enabled
I tried to test the ser in some case : ( using Windows
Messenger 5.1 and released all port for ser )
1. "User A ( outside with NAT ) call User B ( same network with ser )"
- User A can't call User B.
2. "User B ( same network with ser ) call User A ( outside with NAT )"
- User B can call User B but No Voice and auto hangup.
3. "User A ( outside with NAT ) call User C ( outside with NAT )"
- User A can't call User C.
I found some information in MySQL ( Database : ser , Table :
location )
username contact received
user_a sip:192.168.1.1:7700
sip:234.234.234.234:1568 ( public ip )
user_b sip:192.168.10.11:7446
sip:192.168.10.1.3112 ( private ip )
user_c sip:192.168.2.1:15647
sip:123.123.123.123:21144 ( public ip )
I tried many times, but the problem is same !
Please help !
tks a lot !
Freeman
有即時通知,收艂