Hi,

i have mwi running on a server and everything works as expected but notifications over TLS are not sent.

i tried this with several ip phones (hard and soft)

i can register over tls, make calls, etc
the initial SUBSCRIBE sent by client works as expected and answer is sent and received.
when the NOTIFY is initiated by the server here is what i get. i setup some extra debug settings 

any thoughts ?

thank you

Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1681]: notify(): updating subscription to database
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:117]: printf_subs(): pres_uri: sip:995582130@teste.sip.90e9.com
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:121]: printf_subs(): callid/from_tag/to_tag: 73da11de-3566eef2@192.168.16.15/b302146219721c3/804318313668236640636a8c49438852-3fce
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:122]: printf_subs(): local_cseq/remote_cseq: 7/1005
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:123]: printf_subs(): local_contact/contact: sip:192.168.16.145:5061;transport=tls/sip:995582130@192.168.16.15:5074;transport=tls
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:124]: printf_subs(): record_route:
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:125]: printf_subs(): sockinfo_str: tls:192.168.16.145:5061
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:127]: printf_subs(): event: message-summary
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1591]: send_notify_request(): expires 172 status 1
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1603]: send_notify_request(): STEP 1
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1606]: send_notify_request(): STEP 2
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: : <core> [pass_fd.c:157]: send_all(): ERROR: send_all: send on 17 failed: Bad file descriptor
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: ERROR: <core> [tcp_main.c:2353]: tcpconn_send_put(): BUG: tcp_send: failed to get fd(write):Bad file descriptor (9)
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: ERROR: tm [../../forward.h:237]: msg_send(): msg_send: ERROR: tcp_send failed
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: ERROR: tm [uac.c:506]: send_prepared_request_impl(): t_uac: Attempt to send to precreated request failed
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1608]: send_notify_request(): STEP 3
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:1621]: send_notify_request(): NOTIFY sip:995582130@teste.sip.90e9.com via sip:995582130@192.168.16.15:5074;transport=tls on behalf of sip:995582130@teste.sip.90e9.com for event message-summary
Aug 31 23:46:42 sipproxy-01 kamailio[3041]: INFO: presence [notify.c:3107]: pres_notify_watchers(): step 13


--
Luis Azedo