29 Jan
2011
29 Jan
'11
10:43 a.m.
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