Dear All

 

I am using Openser with TLS, the client connects successfully however once I press the call button the connection to the client get’s closed “Actually the client stays open however I do check with netstat and the connection is not there anymore”.

 

As for the openser server

 

The following is noted in the logs

 

Mar 18 15:13:56 [1396] DBG:core:handle_ser_child: read response= b613c8d8, 1, fd -1 from 5 (1378)

Mar 18 15:13:56 [1378] DBG:core:tcp_send: after receive_fd: c= 0xb613c8d8 n=4 fd=14

Mar 18 15:13:56 [1378] DBG:core:tcp_send: sending...

Mar 18 15:13:56 [1378] DBG:core:tls_update_fd: New fd is 14

Mar 18 15:13:56 [1378] DBG:core:tls_write: write was successful (580 bytes)

Mar 18 15:13:56 [1378] DBG:core:tcp_send: after write: c= 0xb613c8d8 n=580 fd=14

Mar 18 15:13:56 [1378] DBG:core:tcp_send: buf=

SIP/2.0 408 Request Timeout

Via: SIP/2.0/TLS 192.168.0.149:9071;rport=9071;branch=z9hG4bK30231106nh26;received=my.own.public.ip

From: 9613041705 <sip:9613041705@server.ip>;tag=30231106

To: 9613041705 <sip:9613041705@server.ip>;tag=22c184cf1a1beaaaab06669b2c48f35d-e4d8

Call-ID: F96E5BE097AAtYP4@server.ip

CSeq: 2 REGISTER

Server: OpenSER (1.3.0-tls (i386/linux))

Content-Length: 0

Warning: 392 xx.yy.yy.yy:443 "Noisy feedback tells:  pid=1378 req_src_ip=xx.xx.xx.xx req_src_port=9071 in_uri=sip:87.236.144.13 out_uri=sip:pstn.gw.ip.here:5060 via_cnt==0"

 

 

Mar 18 15:13:56 [1378] DBG:tm:relay_reply: sent buf=0x816aed8: SIP/2.0 4..., shmem=0xb614fb38: SIP/2.0 4

Mar 18 15:13:56 [1378] DBG:tm:final_response_handler: done

Mar 18 15:13:56 [1385] DBG:core:tls_update_fd: New fd is 20

Mar 18 15:13:56 [1385] DBG:core:_tls_read: connection closed cleanly

Mar 18 15:13:56 [1385] DBG:core:tcp_read_req: EOF

Mar 18 15:13:56 [1385] DBG:core:io_watch_del: io_watch_del (0x813d8c0, 20, -1, 0x10) fd_no=2 called

Mar 18 15:13:56 [1385] DBG:core:release_tcpconn:  releasing con 0xb613c8d8, state -1, fd=20, id=12

Mar 18 15:13:56 [1385] DBG:core:release_tcpconn:  extra_data 0xb614c9f0

Mar 18 15:13:56 [1396] DBG:core:handle_tcp_child: reader response= b613c8d8, -1 from 0

Mar 18 15:13:56 [1396] DBG:core:tcpconn_destroy: destroying connection 0xb613c8d8, flags 0002

Mar 18 15:13:56 [1396] DBG:core:tls_close: closing SSL connection

Mar 18 15:13:56 [1396] DBG:core:tls_update_fd: New fd is 24

Mar 18 15:13:56 [1396] DBG:core:tls_shutdown: shutdown successful

Mar 18 15:13:56 [1396] DBG:core:tls_tcpconn_clean: entered

Mar 18 15:13:58 [1378] DBG:tm:utimer_routine: timer routine:7,tl=0xb615f734 next=(nil), timeout=3056900000

Mar 18 15:14:01 [1378] DBG:tm:timer_routine: timer routine:2,tl=0xb615f630 next=(nil), timeout=3060

Mar 18 15:14:01 [1378] DBG:tm:wait_handler: removing 0xb615f5e8 from table

Mar 18 15:14:01 [1378] DBG:tm:delete_cell: delete transaction 0xb615f5e8

Mar 18 15:14:01 [1378] DBG:tm:wait_handler: done

Mar 18 15:14:41 [1378] DBG:presence:msg_watchers_clean: cleaning pending subscriptions

Mar 18 15:14:41 [1378] DBG:core:db_free_rows: freeing 0 rows

Mar 18 15:14:41 [1378] DBG:presence:msg_presentity_clean: cleaning expired presentity information

Mar 18 15:14:41 [1378] DBG:core:db_free_rows: freeing 0 rows

 

With Regards

 

Ali Jawad

System Administrator

Splendor Telecom (www.splendor.net)

Beirut, Lebanon

Phone: +961 1 373725

Fax: + 961 1 375554