<div>hi all,</div>
<div>&nbsp;i have the following .call file:</div>
<div>&nbsp;</div>
<div>Channel: <a href="mailto:IAX2/myusername@voipjet/myPOTSline">IAX2/myusername@voipjet/myPOTSline</a><br>MaxRetries: 2<br>RetryTime: 60<br>WaitTime: 30<br>#<br># Assuming that your local extensions are kept in the<br>
#&nbsp; context called [extensions]<br>#<br>Context: default<br>Extension: 156<br>Priority: 1<br>&nbsp;</div>
<div>when i drop the .call file into the /var/spool/asterisk/outgoing/ it calls out on voipjet, connects to extension 156 (which runs the a2billing AGI) and everything is great - except that if i hang up the PSTN side, nothing happens. Only when the AGI decides to hang up does it hang up.
</div>
<div>&nbsp;</div>
<div>Just for reference, extension 156 in default is:</div>
<div>&nbsp;</div>
<div>exten =&gt; 156,1,Answer<br>exten =&gt; 156,2,Wait,1<br>exten =&gt; 156,3,DeadAGI(a2billing.php)<br>exten =&gt; 156,4,Hangup<br>&nbsp;</div>
<div>anyone have any idea why a hang up on the PSTN side is not being accepted?</div>
<div>&nbsp;</div>
<div>thanks,</div>
<div>&nbsp;yair</div>