[Freeswitch-users] Event Socket Timeout - Outbound

Alex Rambau list.subscription at alexrambau.com
Sat Jan 29 13:43:18 MSK 2011


Is there any way to set the timeout on the application "socket" from the
dial plan so that if the remote socket isn't listening or is taking too long
the connect operation will timeout and the dial plan won't just hang? 

 

My dial plan entry is as follows:

 

    <extension name="testapp">

      <condition field="destination_number" expression="^2222$">

                <action application="set" data="continue_on_fail=true" />

                <action application="socket" data="192.168.1.108:4444 sync
full"/>

                <action application="transfer" data="8000 XML default"/>

      </condition>

    </extension>

 

Thanks in advance,

 

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110129/c0260e46/attachment-0001.html 


More information about the FreeSWITCH-users mailing list