Hello,
I'm using sofia-sip-1.12.11 and i'm having o problem when i need to send an
ACK with a SDP and this message is bigger than 1400
bytes. The usual behavior would be to try sending the message by TCP (but
the calle does not accept TCP, only UDP), and if the
connection is not established, send it by UDP anyway. But, when sofia tries
with TCP and the connection is not established, it does
not send by UDP.
Here is the log where the error occurs:
nua: nua_stack_set_params: entering
nta: selecting scheme sip
tport_tsend(0x814cc10) tpn = */10.10.35.11:5060
tport_resolve addrinfo = 10.10.35.11:5060
tport_by_addrinfo(0x814cc10): not found by name */10.10.35.11:5060
nta: ACK (900450185) too large for UDP, trying TCP
tport_tsend(0x814ced8) tpn = tcp/10.10.35.11:5060
tport_resolve addrinfo = 10.10.35.11:5060
tport_by_addrinfo(0x814ced8): not found by name tcp/10.10.35.11:5060
tport_alloc_secondary(0x814ced8): new secondary tport 0x81538b0
tport_base_connect(0x81538b0): connecting to tcp/10.10.35.11:5060/sip
tport(0x81538b0): set timer at 2000 ms because idle since send
tport_queue(0x81538b0): queueing 0x814f7a0 for tcp/10.10.35.11:5060
nta: sent ACK (900450185) to tcp/10.10.35.11:5060
nua(0x814fe58): call state changed: completing -> ready, sent answer
nua: nua_application_event: entering
nua: nua_application_event: entering
tport_connected(0x81538b0): events ERR
nta_agent: tport: Connection refused
tport_close(0x81538b0): tcp/10.10.35.11:5060/sip
tport_connected error1:0
tport_connected error2:0
nta: timer set next to 4495 ms
tport_wakeup_pri(0x814cc10): events IN
tport_recv_event(0x814cc10)
tport_recv_iovec(0x814cc10) msg 0x8157560 from (udp/10.10.107.204:5060) has
347 bytes, veclen = 1
Just making it clear, i do not want the ACK sent by TCP, i want it sent by
UDP. Other messages bigger than ~1,4k are sent by UDP, just the ACK
seems to have this problem.
If someone could help me i would be grateful.
--
Engenharia de Computação - USP São Carlos
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel