<div>Hi,</div>
<div> </div>
<div>I am facing this issue, where I get a delay of aroud five seconds when switching between contexts (through extension.conf) . This is how my extensions looks like.</div>
<div> </div>
<div>[salesivr]</div>
<div>exten => _X.,1,NoOp(Incoming call from user ${EXTEN} and caller id ${CALLERID})<br>exten => _X.,2,Playback(emptyy)<br>exten => _X.,3,Background(Main_Sales)<br>exten => _X.,4,WaitExten(2)<br>exten => _X.,5,Goto(_X.,3)
</div>
<div>
<p>exten => 0,1,Goto(SalesRep,s,1)<br>exten => 1,1,Goto(Inquiry,s,1)<br>exten => 9,1,Goto(_X.,3)</p>
<p>[BalanceInquiry]</p>
<p>;extensions</p>
<p>[Inquiry]</p>
<p>;extensions</p>
<p>When I press a digit in _X,3 or _X,4 it takes some time before switching to the desired context. When switching context I see this on the cli</p>
<dir><font color="#800000" size="2">
<p>Executing BackGround("SIP/103-41220030", "Main_Sales") in new stack</p>
<p>-- Playing 'Main_Sales' (language 'en')</p>
<p>== CDR updated on SIP/103-41220030</p>
<p>-- Executing Goto("SIP/103-41220030", "BalanceInquiry|s|1") in new stack</p>
<p>-- Goto (BalanceInquiry,s,1)</p></font></dir>
<p>It seems the CDR update is eating up time, Can some one suggest whats going on here and how I can get out of this dilemma. Is there some way I can disable the CDR writing.</p>
<p>Thanking you in advance,</p>
<p>Danish.</p></div>