<p dir="ltr">Geoff,</p>
<p dir="ltr">I believe its actually TIMEOUT(absolute)=value. The function name is case sensitive. </p>
<p dir="ltr">- Logan</p>
<div class="gmail_quote">On Dec 30, 2012 9:53 AM, "Geoff Lane" <<a href="mailto:geoff@gjctech.co.uk">geoff@gjctech.co.uk</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
Asterisk 1.4.22.1 on CentOS 5<br>
<br>
I've configured my dialplan to limit the maximum call length on<br>
outgoing calls. I've done this as I get the first hour of each call<br>
free with my bundle but I pay through the nose if the call goes over<br>
an hour.<br>
<br>
Family members who live overseas sometimes ask me to transfer them to<br>
UK landline numbers, which is fine by me as it doesn't cost me<br>
provided they don't exceed the hour limit. However, I noticed a few<br>
days ago that a call from my son (who lives in Australia) that I<br>
transferred didn't time out.<br>
<br>
Relevant snippets of extensions.conf follow.<br>
<br>
The incoming (via SIP) call fetches up at the following:<br>
exten => [munged],1,Goto(main,1)<br>
<br>
exten => main,1,Log(NOTICE, Prefilter: call from ${CALLERID(num)})<br>
exten => main,n,PrivacyManager(2,10)<br>
exten => main,n,GotoIf($["${PRIVACYMGRSTATUS}" = "FAILED"]?withheld,1)<br>
exten => main,n,Log(NOTICE, Incoming call from ${CALLERID(num)})<br>
exten => main,n,GotoIf($[${BLACKLIST()}]?banned,1)<br>
exten => main,n,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})})<br>
exten => main,n,Dial(${rgMain},${RINGTIME},t)<br>
exten => main,n,Log(NOTICE, Call from ${CALLERID(num)} sent to voicemail)<br>
exten => main,n,VoiceMail(main@default)<br>
<br>
To transfer the call, I press # then dial the number, which is in the<br>
form of 01nnn nnnnnn, and so should fetch up at the following:<br>
exten => _01.,1,SET(Timeout(absolute)=3540)<br>
exten => _01.,n,Dial(${UKGeographical}/${EXTEN},,g) ; send anything preceded with 01 to UKGeographical<br>
<br>
Am I missing something (e.g. Timeout(absolute) doesn't apply to<br>
transferred calls) or can anyone spot something else that's allowing<br>
the call to continue past the 59 minute set limit?<br>
<br>
TIA,<br>
<br>
--<br>
Geoff<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div>