Hi everyone, I have a problem with sofia handling the reinvites when doing on hold. My on hold implemetnation should work like this.
A B |----------- INVITE -------------->| | a=sendonly | | | |<------------ OK -----------------| | a=recvonly | ~~~~ music plays from A to B ~~~~~ |----------- INVITE -------------->| | | |<------------ OK -----------------| | a=sendrecv | ~~~~ normal communication is ~~~~~ restored However sofia does not fire an event, when B responds to the second INVITE. (It does with the first one and one way audio is estabilished successfully.) I am attaching wireshark log with the SIP communication and two files containing sofia logs (with SOFIA_DEBUG=9) for each INVITE sent. If you have any idea where the problem might be (or if you need additional info) please contact me. Thank you Regards Martin
nta: sent INVITE (127910775) to */192.168.26.210:5060 tport_pend(0E8FC1F0): pending 128FBAF8 for udp/192.168.26.5:5072 (already 0) nta: timer shortened to 500 ms nua(128FA150): ready call updated: calling sent offer soa_get_local_sdp(static::128FA4E8, [1657F024], [1657F018], [00000000]) called tport_wakeup_pri(0E8FC1F0): events IN tport_recv_event(0E8FC1F0) tport(0E8FC1F0) msg 128F1B78 from (udp/192.168.26.5:5072) has 501 bytes, veclen = 1 tport(0E8FC1F0): msg 128F1B78 (501 bytes) from udp/192.168.26.210:5072/sip next=00000000 nta: received 100 Trying for INVITE (127910775) nta: 100 Trying is going to a transaction nta_outgoing: RTT is 0 ms tport(0E8FC1F0): 128FBAF8 by 0E8FFCB0 with 128F1B78 (preliminary) tport_wakeup_pri(0E8FC1F0): events IN tport_recv_event(0E8FC1F0) tport(0E8FC1F0) msg 128F1B78 from (udp/192.168.26.5:5072) has 814 bytes, veclen = 1 tport(0E8FC1F0): msg 128F1B78 (814 bytes) from udp/192.168.26.210:5072/sip next=00000000 nta: received 200 OK for INVITE (127910775) nta: 200 OK is going to a transaction tport(0E8FC1F0): 128FBAF8 by 0E8FFCB0 with 128F1B78 soa_set_remote_sdp(static::128FA4E8, 00000000, 128F20EA, 284) called soa_process_answer(static::128FA4E8) called soa_static_offer_answer_action(128FA4E8, soa_process_answer): called soa_sdp_mode_set(128F5308, 128F7188, "*"): called soa_static(128FA4E8, soa_process_answer): upgrade codecs with remote description soa_activate(static::128FA4E8, (nil)) called nua(128FA150): INVITE: processed SDP answer in 200 OK nta: selecting scheme sip tport_tsend(0E8FC1F0) tpn = */192.168.26.210:5060 tport_resolve addrinfo = 192.168.26.210:5060 tport(0E8FC1F0): not found by name */192.168.26.210:5060 tport_vsend returned 321 nta: sent ACK (127910775) to */192.168.26.210:5060 nua(128FA150): ready call updated: ready received answer soa_get_remote_sdp(static::128FA4E8, [1657E6EC], [1657E6E0], [00000000]) called soa_get_params(static::128FA4E8, ...) called nta: timer set next to 2391 ms nta: timer I fired, terminate 200 response incoming_reclaim_all(00000000, 00000000, 1657F8F4) nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free nta: timer set next to 18531 ms nua(128FA150): sent signal r_invite
nta: sent INVITE (127910776) to */192.168.26.210:5060 tport_pend(0E8FC1F0): pending 0E8FEC80 for udp/192.168.26.5:5072 (already 0) nta: timer shortened to 500 ms nua(128FA150): ready call updated: calling sent offer audio device is empty RESET ECHO soa_get_local_sdp(static::128FA4E8, [1657F024], [1657F018], [00000000]) called tport_wakeup_pri(0E8FC1F0): events IN tport_recv_event(0E8FC1F0) tport(0E8FC1F0) msg 128F8D98 from (udp/192.168.26.5:5072) has 1315 bytes, veclen = 1 tport(0E8FC1F0): msg 128F8D98 (501 bytes) from udp/192.168.26.210:5072/sip next=00000000 nta: received 100 Trying for INVITE (127910776) nta: 100 Trying is going to a transaction nta_outgoing: RTT is 0 ms tport(0E8FC1F0): 0E8FEC80 by 128F57D8 with 128F8D98 (preliminary) tport_wakeup_pri(0E8FC1F0): events IN tport_recv_event(0E8FC1F0) tport(0E8FC1F0) msg 128F8D98 from (udp/192.168.26.5:5072) has 814 bytes, veclen = 1 tport(0E8FC1F0): msg 128F8D98 (814 bytes) from udp/192.168.26.210:5072/sip next=00000000 nta: received 200 OK for INVITE (127910776) nta: 200 OK is going to a transaction tport(0E8FC1F0): 0E8FEC80 by 128F57D8 with 128F8D98 soa_set_remote_sdp(static::128FA4E8, 00000000, 128F930A, 284) called soa_process_answer(static::128FA4E8) called soa_static_offer_answer_action(128FA4E8, soa_process_answer): called soa_sdp_mode_set(128F7BA0, 128FE588, ""): called soa_static(128FA4E8, soa_process_answer): upgrade codecs with remote description soa_activate(static::128FA4E8, (nil)) called nua(128FA150): INVITE: processed SDP answer in 200 OK nta: selecting scheme sip tport_tsend(0E8FC1F0) tpn = */192.168.26.210:5060 tport_resolve addrinfo = 192.168.26.210:5060 tport(0E8FC1F0): not found by name */192.168.26.210:5060 tport_vsend returned 321 nta: sent ACK (127910776) to */192.168.26.210:5060 nua(128FA150): ready call updated: ready received answer soa_get_remote_sdp(static::128FA4E8, [1657E6EC], [1657E6E0], [00000000]) called soa_get_params(static::128FA4E8, ...) called nta: timer set next to 17562 ms nta: timer J fired, terminate 200 response incoming_reclaim_all(00000000, 00000000, 1657F8F4) nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free nta: timer set next to 10563 ms nta: timer D fired, terminate INVITE (127910775) nta: timer F fired, terminating ACK (127910775) outgoing_reclaim_all(00000000, 00000000, 1657F954) nta_outgoing_timer: 0/0 resent, 1/2 tout, 1/2 term, 2/4 free nta: timer set next to 3359 ms nta: timer D fired, terminate INVITE (127910776) nta: timer F fired, terminating ACK (127910776) outgoing_reclaim_all(00000000, 00000000, 1657F954) nta_outgoing_timer: 0/0 resent, 1/1 tout, 1/1 term, 2/2 free nta: timer not set soa_set_params(static::128FA4E8, ...) called soa_terminate(static::128FA4E8) called soa_init_offer_answer(static::128FA4E8) called nta: selecting scheme sip tport_tsend(0E8FC1F0) tpn = */192.168.26.210:5060 tport_resolve addrinfo = 192.168.26.210:5060 tport(0E8FC1F0): not found by name */192.168.26.210:5060 nua(128FA150): sent signal r_bye
sofia_sip_dump.pcap
Description: Binary data
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel