<div dir="ltr"><div><div><div><div><div><div><div><div>Hi,<br></div><br></div>I've set an Asterisk 11 box with a TDM400 board and Dahdi 2.7.0.1.<br><br></div>I've connected an FXS port to an FXO one and issued a couple of channel originate command to measure the duration Asterisk/Dahdi needs to detect a dahdi call is coming in.<br>
<br></div>Basically, using EPOCH variable, I'm reading a 2 or 3s duration with the followinf AEL2 dialplan:<br><br>context remote {<br> s => {<br> if ("x${DB(Start/FXS1)}" != "x") {<br>
Duration=$[${EPOCH} - ${DB(Start/FXS1)}];<br> Verbose(0,Duration is ${Duration});<br> }<br> Answer();<br> Wait(5);<br> HangUp();<br> };<br>};<br><br>context mylocal {<br>
<br> 1 => {<br> DB(Start/FXS1)="${EPOCH}";<br> Dial(DAHDI/1);<br> HangUp();<br> };<br>};<br><br><br></div>How should I rate this 2s or 3s duration ?<br></div>Can I shorten this value ?<br>
</div><div>On the opposite, which settings would significantly increase this duration ?<br></div><div><br><br></div>With the same king of dialplan, I observed hangup needed 4 or 5s to propagate from one port to the other. How should I rate this duration ?<br>
Can I also shorten this value ?<br><br></div>Regards<br><div><div> <br></div></div></div>