Hi,<br><br>I'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><include><br> <extension name="incoming_call"><br> <condition field="destination_number" expression="^XXXXX$"><br>
<action application="set" data="domain_name=$${domain}"/><br> <action application="export" data="call_timeout=60"/><br> <action application="export" data="bridge_answer_timeout=60"/><br>
<action application="export" data="originate_timeout=60"/><br> <action application="ring_ready"/><br> <action application="bridge" data="user/1000@${domain_name}"/><br>
<!--<action application="transfer" data="1000 XML default"/>--><br> <action application="hangup"/><br> </condition><br> </extension><br></include><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've tryied with "transfer" and with "bridge" also setting [leg_timeout=60], but no luck. I'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>