[Freeswitch-users] RFC 4497 Originate Timeout / Progress Timeout .. No 100 Trying ... triggering 480 Response Code???

Adam Long ajlong at worldlink.net
Thu Feb 12 09:46:57 PST 2009


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 at 10.200.1.11:5060"/>

          <action application="bridge"
data="sofia/inside/+17001231234 at 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 at 10
.200.1.11:5060"/>

          <action application="bridge"
data="{originate_timeout=120,progress_timeout=2}sofia/inside/+17001231234 at 10
.200.1.12:5060"/>

        </condition>

      </extension>

     </context>

  </section>

</document>

 

Any thoughts, am I completely nuts and missing something in the spec?

 

Regards,

-Adam

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090212/b286db1e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list