<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">I think I've found it :<br>
<br>
Asterisk always reboots on this part :<br>
<br>
[Sep 15 11:16:32] -- Goto (azura,pbx,1)<br>
[Sep 15 11:16:32] -- Executing [pbx@azura:1]
NoOp("SIP/INTERTELin-00000000", "3252480333 = pbx formule") in new stack<br>
[Sep 15 11:16:32] -- Executing [pbx@azura:2]
Set("SIP/INTERTELin-00000000", "CDR(accountcode)=AZURAin") in new stack<br>
[Sep 15 11:16:32] -- Executing [pbx@azura:3]
Set("SIP/INTERTELin-00000000", "BRON="473555006" <473555006>") in
new stack<br>
[Sep 15 11:16:32] -- Executing [pbx@azura:4]
Goto("SIP/INTERTELin-00000000", "vakantie") in new stack<br>
[Sep 15 11:16:32] -- Goto (azura,pbx,5)<br>
[Sep 15 11:16:32] -- Executing [pbx@azura:5]
Macro("SIP/INTERTELin-00000000", "vakantie,58") in new stack<br>
[Sep 15 11:16:32] -- Executing [s@macro-vakantie:1]
MYSQL("SIP/INTERTELin-00000000", "Connect connid localhost username
passwd AsteriskHosted") in new stack<br>
[Sep 15 11:16:32] -- Executing [s@macro-vakantie:2]
MYSQL("SIP/INTERTELin-00000000", "Query resultid 1 SELECT ast1 , ast2 ,
na , naID FROM vakantiedata where ID=58") in new stack<br>
vps2301*CLI> <br>
Disconnected from Asterisk server<br>
[Sep 15 11:16:32] Executing last minute cleanups<br>
<br>
<br>
Dialplan :<br>
<br>
[macro-vakantie]<br>
exten => s,1,MYSQL(Connect connid localhost username passwd
AsteriskHosted)<br>
exten => s,n,MYSQL(Query resultid ${connid} SELECT ast1 , ast2 , na
, naID FROM vakantiedata where ID=${ARG1})<br>
exten => s,n,MYSQL(Fetch fetchid ${resultid} AST1 AST2 NA naID )<br>
exten => s,n,NoOp(vakantie-ast1 = ${AST1} vakantie-ast2 = ${AST2} na
= ${NA} naID = ${naID})<br>
exten => s,n,MYSQL(Clear ${resultid})<br>
exten => s,n,MYSQL(Disconnect ${connid})<br>
<br>
exten => s,n,NoOp(fetchid = ${fetchid})<br>
exten => s,n,GoToIf($["${fetchid}"=="0"]?exit)<br>
<br>
exten => s,n,NoOp()<br>
exten => s,n,GoToIfTime(${AST1}?opvakantie)<br>
exten => s,n,GoToIfTime(${AST2}?opvakantie)<br>
<br>
exten => s,n(exit),NoOp()<br>
exten => s,n,Set(vakantieresult=continue)<br>
exten => s,n,MacroExit<br>
<br>
exten => s,n(opvakantie),NoOp(op vakantie !)<br>
exten => s,n,GoToIf($["${NA}"="hangup"]?hangup:route)<br>
<br>
<br>
Do you guys see why Asterisk has problems with this part of the
dialplan ?!<br>
<br>
<br>
<br>
Jonas.<br>
</font><br>
<font face="Helvetica, Arial, sans-serif"><br>
</font><br>
On 09/15/2010 10:58 AM, Jonas Kellens wrote:
<blockquote cite="mid:4C908ABA.9000900@telenet.be" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
<font face="Helvetica, Arial, sans-serif">Hello,<br>
<br>
these are my settings in asterisk.conf :<br>
<br>
;maxcalls = 10 ; Maximum amount of calls allowed<br>
;maxload = 0.9 ; Asterisk stops accepting new calls if the load average
exceed this limit<br>
;maxfiles = 1000 ; Maximum amount of openfiles<br>
;minmemfree = 1 ; in MBs, Asterisk stops accepting new calls if the
amount of free memory falls below this watermark<br>
<br>
So I don't think that asterisk restarts/reloads because of the above
settings ?!<br>
<br>
<br>
Jonas.</font><br>
</blockquote>
<br>
</body>
</html>