[OpenSER-Users] tls errors

Jeremy George jeremy at georgeco.us
Thu Sep 13 18:22:14 CEST 2007


Hello All,

  I could use some help with tls.  Any pointers to a possible solution would
be greatly appreciated.  Please let me know if any further information would
be helpful.  Thanks.

  Everything seems to register correctly.  Openserctl ul show seems correct
(see below.)  For a short time all is well.  I can call from/to Polycom hard
phones.  (Eyebeam never seems to make calls, though it does register
correctly.)  Then calls stop working, and I begin getting the following
error messages.  


Sep 12 16:17:16 spongy openser[30644]: ERROR: tcp_blocking_connect: SO_ERROR
(111) Connection refused 
Sep 12 16:17:16 spongy openser[30644]: ERROR: tcpconn_connect:
tcp_blocking_connect failed 
Sep 12 16:17:16 spongy openser[30644]: ERROR: tcp_send: connect failed 
Sep 12 16:17:16 spongy openser[30644]: msg_send: ERROR: tcp_send failed 
Sep 12 16:17:16 spongy openser[30644]: ERROR:tm:t_forward_nonack: sending
request failed 
Sep 12 16:17:53 spongy openser[30644]: ERROR:tm:t_forward_nonack: discarding
fwd for a cancelled transaction 
Sep 12 16:17:53 spongy openser[30644]: ERROR:tm:w_t_relay: t_forward_nonack
failed 
Sep 12 16:17:59 spongy openser[30629]: ERROR:tm:t_forward_nonack: discarding
fwd for a cancelled transaction 
Sep 12 16:17:59 spongy openser[30629]: ERROR:tm:w_t_relay: t_forward_nonack
failed 
Sep 12 16:18:25 spongy openser[30625]: ERROR:tm:t_forward_nonack: discarding
fwd for a cancelled transaction 
Sep 12 16:18:25 spongy openser[30625]: ERROR:tm:w_t_relay: t_forward_nonack
failed 

  I thought the errors might be caused by an underlying tcp configuration
issue on the machine, so I reconfigured the proxy and uas to use tcp (but
not tls) and I had no trouble.

  Googling and looking through the archives seems to indicate I'm not the
first person to have this problem.
http://www.ip-phone-forum.de/archive/index.php/t-100539.html  (I don't know
if there is an answer here; unfortunately, I can't read German :)


Spongy% sudo openser -V
version: openser 1.2.2-tls (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, DISABLE_NAGLE, USE_MCAST,
SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: unknown
@(#) $Id: main.c 2304 2007-05-25 16:36:07Z bogdan_iancu $
main.c compiled on 11:33:05 Sep 1


Spongy% sudo openserctl ul show
Domain:: aliases table=512 records=0 max_slot=0
Domain:: location table=512 records=5 max_slot=1
        AOR:: didama
                Contact:: sip:didama at 75.56.10.117:37522;transport=tls Q=
                        Expires:: 227
                        Callid:: acae15de-44fdabfd-e712aa40 at 75.56.10.117
                        Cseq:: 38
                        User-agent::
PolycomSoundPointIP-SPIP_330-UA/2.1.2.0049
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tls:128.91.3.19:5061
                        Methods:: 8063
        AOR:: jeremy
                Contact:: sip:jeremy at 75.56.10.115:5060;transport=udp Q=
                        Expires:: 85
                        Callid::
00036b09-50520002-40d733bc-0d83cc25 at 75.56.10.115
                        Cseq:: 140
                        User-agent:: Cisco-CP7960G/8.0
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: udp:128.91.3.19:5060
                        Methods:: 4294967295
        AOR:: jessica
                Contact:: sip:jessica at 75.56.10.116:55250;transport=tls Q=
                        Expires:: 1196
                        Callid:: ef97ec67-46682f92-799b9cc1 at 75.56.10.116
                        Cseq:: 84
                        User-agent::
PolycomSoundPointIP-SPIP_650-UA/2.1.2.0078
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tls:128.91.3.19:5061
                        Methods:: 8063
        AOR:: peggy
                Contact::
sip:peggy at 75.56.10.113:1210;transport=TLS;rinstance=dd48392409b03c0a Q=
                        Expires:: 3567
                        Callid::
M2NhMmI1OGZkZThhYjUzMmZiZTcxY2M0MjhlODE1ZDQ.
                        Cseq:: 4
                        User-agent:: eyeBeam release 1013t stamp 43069
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tls:128.91.3.19:5061
                        Methods:: 5951
        AOR:: helen
                Contact:: sip:helen at 75.56.10.116:55250;transport=tls Q=
                        Expires:: 1197
                        Callid:: f556d6ba-86bff9c9-f62d758c at 75.56.10.116
                        Cseq:: 84
                        User-agent::
PolycomSoundPointIP-SPIP_650-UA/2.1.2.0078
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tls:128.91.3.19:5061
                        Methods:: 8063
                Contact:: sip:helen at 75.56.10.117:37522;transport=tls Q=
                        Expires:: 228
                        Callid:: dd7e9645-83cfde68-f0f8341f at 75.56.10.117
                        Cseq:: 38
                        User-agent::
PolycomSoundPointIP-SPIP_330-UA/2.1.2.0049
                        State:: CS_SYNC
                        Flags:: 0
                        Cflag:: 0
                        Socket:: tls:128.91.3.19:5061
                        Methods:: 8063


- Jeremy





More information about the sr-users mailing list