Hi Alex,
did you receive any provisional reply from UAS before the timeout event?
regards,
bogdan
Alex Hermann wrote:
On Thursday 25 January 2007 15:10, Bogdan-Andrei Iancu
wrote:
Any feedback is appreciated.
For me, it doesn't work at all. I get the same behaviour of OpenSER 1.2.x as
with 1.1.x. I can see that SER does a SRV query to the DNS which should
return 2 entries with different priorities. SER then only tries the lower
priority one. If that fails, the script ends.
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG: mk_proxy: doing DNS lookup...
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:sip_resolvehost2: no port, has
proto -> do SRV lookup!
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:do_srv_lookup:
SRV(_sip._udp.outbounds.domain.net) = out_sip1.domain.net:5060
Apr 13 14:54:32 sip1 outbound1[17834]: check_via_address(123.123.123.123,
123.123.123.123, 0)
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:tm:set_timer: relative timeout is
500000
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG: add_to_tail_of_timer[4]:
0xb3a4bc6c (1760600000)
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:tm:set_timer: relative timeout is
2
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG: add_to_tail_of_timer[0]:
0xb3a4bc88 (1762)
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:tm:t_relay_to: new transaction
fwd'ed
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:tm:UNREF_UNSAFE: after is 0
Apr 13 14:54:32 sip1 outbound1[17834]: DEBUG:destroy_avp_list: destroying list
(nil)
Apr 13 14:54:32 sip1 outbound1[17834]: receive_msg: cleaning up
Apr 13 14:54:33 sip1 outbound1[17836]: DEBUG: timer routine:4,tl=0xb3a4bc6c
next=(nil), timeout=1760600000
Apr 13 14:54:33 sip1 outbound1[17836]: DEBUG: retransmission_handler : request
resending (t=0xb3a4bb20, INVITE si ... )
Apr 13 14:54:33 sip1 outbound1[17836]: DEBUG:tm:set_timer: relative timeout is
1000000
Apr 13 14:54:33 sip1 outbound1[17836]: DEBUG: add_to_tail_of_timer[5]:
0xb3a4bc6c (1761600000)
Apr 13 14:54:33 sip1 outbound1[17836]: DEBUG: retransmission_handler : done
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: timer routine:5,tl=0xb3a4bc6c
next=(nil), timeout=1761600000
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: retransmission_handler : request
resending (t=0xb3a4bb20, INVITE si ... )
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:set_timer: relative timeout is
2000000
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: add_to_tail_of_timer[6]:
0xb3a4bc6c (1763600000)
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: retransmission_handler : done
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: timer routine:0,tl=0xb3a4bc88
next=(nil), timeout=1762
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: final_response_handler:stop
retr. and send CANCEL (0xb3a4bb20)
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:t_should_relay_response:
T_code=100, new_code=408
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:t_pick_branch: picked branch
0, code 408
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:relay_reply: branch=0, save=0,
relay=0
Apr 13 14:54:34 sip1 outbound1[17836]: parse_headers: flags=ffffffffffffffff
Apr 13 14:54:34 sip1 outbound1[17836]: check_via_address(217.114.103.90,
217.114.103.90, 0)
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:set_timer: relative timeout is
500000
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: add_to_tail_of_timer[4]:
0xb3a4bbe8 (1762500000)
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:set_timer: relative timeout is
2
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG: add_to_tail_of_timer[0]:
0xb3a4bc04 (1764)
Apr 13 14:54:34 sip1 outbound1[17836]: DEBUG:tm:relay_reply: sent
buf=0x81651e8: SIP/2.0 4..., shmem=0xb3a4da08: SIP/2.0 4
Apr 13 14:54:34 sip1 outbound1[17836]: DBG: trans=0xb3a4bb20, callback type
128, id 0 entered
# dig
_sip._udp.outbounds.domain.net SRV
; <<>> DiG 9.3.4 <<>>
_sip._udp.outbounds.domain.net SRV
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36981
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;_sip._udp.outbounds.domain.net. IN SRV
;; ANSWER SECTION:
_sip._udp.outbounds.domain.net. 3600 IN SRV 101 100 5060
out_sip2.domain.net.
_sip._udp.outbounds.domain.net. 3600 IN SRV 100 100 5060
out_sip1.domain.net.
;; Query time: 63 msec