Jeremya wrote:
Hi,
I have an example of requests being continually retried after the
initiating dialog has terminated
The recipient does not respond at any stage.
In my example a dialog issues a BYE at 16:45:38. Shortly after that it
is destroyed (AmSession destroy)
The BYE requests continue until 16:46:06 sent by udp_trsp.cpp at ever
increasing intervals.
My questions are:
- Should a request survive after a dialog is closed? (I expect yes)
yes. its the normal retransmit.
- What is the expected period for these retries? (I expect some period
set by SIP standards)
its Timer F, see 17.1.2.2 in 3261. Its defined in sip_timers.h,
STIMER_F (64*T1, 32s).
- Is there a method of cancelling all outgoing requests from a dialog?
does that make sense? its a normal retransmit; it should be retried if
the recipient does not reply. there is no simple method to drop all
outgoing requests from a dialog, especially because the retransmit is
done on the transaction level - you would have to remember all the
transactions of a dialog, add them into a blocked transaction list and
check that in the transaction layer (see e.g.
trans_layer::timer_expired for STIMER_E).
Stefan
Thanks
Jeremy
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems
--
Stefan Sayer
VoIP Services Consulting and Development
Warschauer Str. 24
10243 Berlin
tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems