Hi,

i noticed a weird behavior in 4.2 branch with this kamailio.cfg (snippet)

#!substdef "!UDP_SIP!udp:MY_IP_ADDRESS:5060!g"
#!substdef "!TCP_SIP!tcp:MY_IP_ADDRESS:5060!g"
listen=UDP_SIP
listen=TCP_SIP

####### Routing Logic ########
route
{
    # log the basic info regarding this call
    xlog("L_INFO", "$ci|start|recieved $oP request $rm $ou");
 .....
}

when clients using TCP send a SUBSCRIBE we get log info that it is a UDP 
operation.
when we send the first notify we get tcp errors.
for reference, i'm using Bria 4 in testing.


Dec 20 16:49:29 kamailio-05 kamailio[5085]: INFO: <script>: 
YzYwYWVlOTFiMGU0YmNjM2IyMDA1NmQ4NjdiMGEwZDY|start|recieved UDP request 
SUBSCRIBE sip:[email protected]
Dec 20 16:49:29 kamailio-05 kamailio[5072]: INFO: <script>: received dialog 
update for sip:[email protected]
Dec 20 16:49:29 kamailio-05 kamailio[5072]: INFO: presence [notify.c:1604]: 
send_notify_request(): NOTIFY sip:[email protected] via 
sip:[email protected]:62285;transpop on behalf of sip:[email protected] for 
event dialog
Dec 20 16:49:29 kamailio-05 kamailio[5072]: CRITICAL: <core> [pass_fd.c:157]: 
send_all(): send on 0 failed: Socket operation on non-socket
Dec 20 16:49:29 kamailio-05 kamailio[5072]: ERROR: <core> [tcp_main.c:2303]: 
tcpconn_send_put(): failed to get fd(write):Socket operation on non-socket (88)
Dec 20 16:49:29 kamailio-05 kamailio[5072]: ERROR: tm [../../forward.h:227]: 
msg_send(): tcp_send failed
Dec 20 16:49:29 kamailio-05 kamailio[5072]: ERROR: tm [uac.c:598]: 
send_prepared_request_impl(): t_uac: Attempt to send to precreated request 
failed



---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/11
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to