Hi,<br><br>I&#39;ve setup the dialplan such that when I receive a call from a provider (public context), the call get transferred to an extension in the default context (in a similar way as the default config). However, no matter what I set for call_timeout, the call is always terminated after ca. 19 seconds with a cause ORIGINATOR_CANCEL. I would like to extend the timeout period.<br>
<br>This is my public entry for the incoming call:<br><br>&lt;include&gt;<br>  &lt;extension name=&quot;incoming_call&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^XXXXX$&quot;&gt;<br>
      &lt;action application=&quot;set&quot; data=&quot;domain_name=$${domain}&quot;/&gt;<br>      &lt;action application=&quot;export&quot; data=&quot;call_timeout=60&quot;/&gt;<br>      &lt;action application=&quot;export&quot; data=&quot;bridge_answer_timeout=60&quot;/&gt;<br>
      &lt;action application=&quot;export&quot; data=&quot;originate_timeout=60&quot;/&gt;<br>      &lt;action application=&quot;ring_ready&quot;/&gt;<br>      &lt;action application=&quot;bridge&quot; data=&quot;user/1000@${domain_name}&quot;/&gt;<br>
      &lt;!--&lt;action application=&quot;transfer&quot; data=&quot;1000 XML default&quot;/&gt;--&gt;<br>      &lt;action application=&quot;hangup&quot;/&gt;<br>    &lt;/condition&gt;<br>  &lt;/extension&gt;<br>&lt;/include&gt;<br>
<br>And this is part of the log:<br><br>2011-08-25 23:57:30.920053 [NOTICE] sofia.c:5226 Ring-Ready sofia/external/0916001220!<br>2011-08-25 23:57:30.920053 [NOTICE] mod_sofia.c:2366 Ring-Ready sofia/internal/1001@xxxxx!<br>
2011-08-25 23:57:30.920053 [NOTICE] switch_ivr_originate.c:481 Ring Ready sofia/internal/1001@xxxxx!<br>2011-08-25 23:57:30.960053 [NOTICE] sofia.c:5226 Ring-Ready sofia/internal/<a href="http://sip:1000@192.168.0.5:31148">sip:1000@192.168.0.5:31148</a>!<br>
2011-08-25 23:57:30.960053 [NOTICE] switch_ivr_originate.c:481 Ring Ready sofia/external/<a href="mailto:0916001220@195.190.166.249">0916001220@195.190.166.249</a>!<br>2011-08-25 23:57:50.900063 [NOTICE] sofia.c:5872 Hangup sofia/external/<a href="mailto:0916001220@195.190.166.249">0916001220@195.190.166.249</a> [CS_EXECUTE] [ORIGINATOR_CANCEL]<br>
2011-08-25 23:57:50.900063 [NOTICE] switch_ivr_originate.c:3144 Hangup sofia/internal/<a href="http://sip:1000@192.168.0.5:31148">sip:1000@192.168.0.5:31148</a> [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]<br>2011-08-25 23:57:50.900063 [NOTICE] switch_ivr_originate.c:2436 Cannot create outgoing channel of type [user] cause: [ORIGINATOR_CANCEL]<br>
2011-08-25 23:57:50.900063 [INFO] mod_dptools.c:2696 Originate Failed.  Cause: ORIGINATOR_CANCEL<br>2011-08-25 23:57:50.900063 [NOTICE] sofia.c:5872 Hangup sofia/external/0916001220 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]<br>
2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1353 Session 11 (sofia/external/<a href="mailto:0916001220@195.190.166.249">0916001220@195.190.166.249</a>) Ended<br>2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1355 Close Channel sofia/external/<a href="mailto:0916001220@195.190.166.249">0916001220@195.190.166.249</a> [CS_DESTROY]<br>
2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1353 Session 12 (sofia/internal/<a href="http://sip:1000@192.168.0.5:31148">sip:1000@192.168.0.5:31148</a>) Ended<br>2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1355 Close Channel sofia/internal/<a href="http://sip:1000@192.168.0.5:31148">sip:1000@192.168.0.5:31148</a> [CS_DESTROY]<br>
2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1353 Session 10 (sofia/external/0916001220) Ended<br>2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1355 Close Channel sofia/external/0916001220 [CS_DESTROY]<br>
2011-08-25 23:57:50.900063 [INFO] mod_dptools.c:2696 Originate Failed.  Cause: NORMAL_TEMPORARY_FAILURE<br>2011-08-25 23:57:50.900063 [NOTICE] mod_dptools.c:2815 Hangup sofia/internal/1001@xxxxx [CS_EXECUTE] [NORMAL_TEMPORARY_FAILURE]<br>
2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1353 Session 9 (sofia/internal/1001@xxxxx) Ended<br>2011-08-25 23:57:50.900063 [NOTICE] switch_core_session.c:1355 Close Channel sofia/internal/1001@xxxxx [CS_DESTROY]<br>
<br>I&#39;ve tryied with &quot;transfer&quot; and with &quot;bridge&quot; also setting [leg_timeout=60], but no luck. I&#39;ve changed all timeout related values in default.xml as well. <br><br>If the call comes from a phone registered locally, then the timeout works fine. The problem only exists with calls coming from outside (the public context). However, the timeout does seems to be related to freeswitch and not the provider as I have another system running Asterisk and there the problem (using the same provider accounts) does not exist.<br>
<br>I would really appreciate any suggestion on how to extend calls timeout.<br><br>Regards,<br>Fede<br>