RFC 4497 Originate Timeout / Progress Timeout .. No 100 Trying ... triggering 480 Response Code???
Hi Guys, I've been experimenting with originate_timeout and progress_timeout as follows. However, shouldn't the timeout trigger a 408 Request Timeout instead of 480 Temporary Failure if no Provisional response received? Just curious, it seems to make sense to me.. but maybe SIP gods see differently. I have also tried using ${originate_disposition} after both bridge attempts to fetch the timeout disposition but instead this is set to NO_ANSWER (which would be correct for first attempt) As I understand it originate_disposition is reset for each bridge completed either successfully or unsuccessfully. Shouldn't the second attempt with no 100 Trying ever received trigger a NO_USER_REPONSE on timeout? According to RFC 4497 that would map to 408 Request Timeout For this test (please note progress_timeout set to low "2" value to test timeout) Node 10.200.1.11 is setup in such a way it responds with 100 Trying but never reaches 180 or 183 before 2 sec timer expires (as desired for this test) Node 10.200.1.12 (is disconnected and never even sends a provisional response, as desired) I have tried. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="dialplan" description="FSXML FastCgi Provided Dialplan"> <context name="public"> <extension name="FSXML.FCGI Generated Route"> <condition> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="set" data="call_timeout=120"/> <action application="set" data="progress_timeout=2"/> <action application="bridge" data="sofia/inside/+17001231234@10.200.1.11:5060"/> <action application="bridge" data="sofia/inside/+17001231234@10.200.1.12:5060"/> </condition> </extension> </context> </section> </document> As well as . <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="freeswitch/xml"> <section name="dialplan" description="FSXML FastCgi Provided Dialplan"> <context name="public"> <extension name="FSXML.FCGI Generated Route"> <condition> <action application="set" data="continue_on_fail=true"/> <action application="set" data="hangup_after_bridge=true"/> <action application="bridge" data="{originate_timeout=120,progress_timeout=2}sofia/inside/+17001231234@10 .200.1.11:5060"/> <action application="bridge" data="{originate_timeout=120,progress_timeout=2}sofia/inside/+17001231234@10 .200.1.12:5060"/> </condition> </extension> </context> </section> </document> Any thoughts, am I completely nuts and missing something in the spec? Regards, -Adam
participants (1)
-
Adam Long