<div><br></div><div><br></div>But we are using Vicidial and we got that file with the CD.<div><br></div><div>Manual says so to write below lines in extension.conf file :</div><div><br></div><div><div>_________________________________________________________________________________________________________</div>
<div>Now we need to set up the dialplan to send the calls coming into this number to go to VICIDIAL. </div><div><br></div><div>The following lines need to be added to your dialplan(the extensions.conf file) by your System </div>
<div>Administrator:</div><div>exten => 8002277655,1,Ringing ; call ringing</div><div>exten => 8002277655,2,Wait(1) ; Wait 1 second for CID delivery from PRI </div><div>exten => 8002277655,3,Answer ; Answer the line</div>
<div>exten => 8002277655,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----</div><div>SALESLINE-----8002277655-----Closer-----park----------999-----1-----TESTCAMP)</div><div>exten => 8002277655,5,Hangup</div><div>
th</div><div>NOTE: no line break on the 4 line.</div><div> Then you need to reload Asterisk for this to go into effect.</div><div>_________________________________________________________________________________________________________<br>
</div><div><br></div><div><br></div><div class="gmail_quote">On Wed, Jan 28, 2009 at 9:57 PM, David @ULC <span dir="ltr"><<a href="mailto:ucoms2001@gmail.com">ucoms2001@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<span style="font-family:Verdana;font-size:12px;line-height:18px"><div><br></div>My Inbound calls lands , but line get disconnect in <span style="color:red">exactly 3 secs</span>. <br><br>
Here goes my extension.conf setting : <br><br>[from-ipkall] <br>exten => 901835,1,Ringing ; call ringing <br>exten => 901835,2,Wait(1) ; Wait 1 second for CID delivery from PRI <br>exten => 901835,3,Answer ; Answer the line <br>
exten => 901835,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUPRC-----LB-----SALESLINE-----901835-----Closer-----park----------999-----1-----TESTCAMP) <br>exten => 901835,5,Hangup <br><br>What could be wrong ? <br><br>Can it be Provider Issue ? <br>
<br>CLI Output :</span><div><span style="font-family:Verdana;font-size:12px;line-height:18px">--------------------------</span></div><div><span style="font-family:Verdana;font-size:12px;line-height:18px"><br>
</span></div><div><span style="font-family:Verdana;font-size:12px;line-height:18px"><span style="color:rgb(68, 68, 68);font-size:11px;line-height:13px">> Channel SIP/cc101-0887f498 was answered. <br>
-- Executing MeetMe("SIP/cc101-0887f498", "8600051") in new stack <br>== Parsing '/etc/asterisk/meetme.conf': Found <br>-- Created MeetMe conference 1023 for conference '8600051' <br>-- Playing 'conf-onlyperson' (language 'en') <br>
== Manager 'sendcron' logged off from 127.0.0.1 <br>-- Executing Ringing("SIP/66.54.140.46-08874e68", "") in new stack <br>-- Executing Wait("SIP/66.54.140.46-08874e68", "1") in new stack <br>
-- Executing Answer("SIP/66.54.140.46-08874e68", "") in new stack <br>-- Executing AGI("SIP/66.54.140.46-08874e68", "agi-VDAD_ALL_inbound.agi|CIDLOOKUPRC-----LB-----SALESLINE-----901835-----Closer-----park----------999-----1-----TESTCAMP") in new stack <br>
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_inbound.agi <br>== Parsing '/etc/asterisk/manager.conf': Found <br>== Manager 'sendcron' logged on from 127.0.0.1 <br>-- Executing AGI("Local/192*168*000*002*78600051@default-230b,2", "agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>") in new stack <br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/call_log</a> completed, returning 0 <br>-- Executing Dial("Local/192*168*000*002*78600051@default-230b,2", "SIP/192*168*000*002*78600051@sip64||tTor") in new stack <br>
-- Called 192*168*000*002*78600051@sip64 <br>== Spawn extension (default, 192*168*000*002*78600051, 2) exited non-zero on 'Local/192*168*000*002*78600051@default-230b,2' <br>-- Executing DeadAGI("Local/192*168*000*002*78600051@default-230b,2", "agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>") in new stack <br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/call_log</a> completed, returning 0 <br>-- Executing DeadAGI("Local/192*168*000*002*78600051@default-230b,2", "agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------" target="_blank">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------</a>)") in new stack <br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------</a>) completed, returning 0 <br>
-- AGI Script agi-VDAD_ALL_inbound.agi completed, returning 0 <br>-- Executing AGI("SIP/66.54.140.46-08874e68", "agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>") in new stack <br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/call_log</a> completed, returning 0 <br>-- Executing Dial("SIP/66.54.140.46-08874e68", "SIP/192*168*000*002*8600051@sip64||tTor") in new stack <br>
-- Called 192*168*000*002*8600051@sip64 <br>-- SIP/sip64-0888b218 is circuit-busy <br>== Everyone is busy/congested at this time (1:0/1/0) <br>-- Executing Hangup("SIP/66.54.140.46-08874e68", "") in new stack <br>
== Spawn extension (default, 192*168*000*002*8600051, 3) exited non-zero on 'SIP/66.54.140.46-08874e68' <br>-- Executing DeadAGI("SIP/66.54.140.46-08874e68", "agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>") in new stack <br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/call_log</a> completed, returning 0 <br>-- Executing DeadAGI("SIP/66.54.140.46-08874e68", "agi://<a href="http://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------" target="_blank">127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------</a>)") in new stack<br>
-- AGI Script <a style="color:rgb(0, 102, 153)">agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----1-----CONGESTION----------</a>) completed, returning 0 <br>
== Manager 'sendcron' logged off from 127.0.0.1 </span></span></div><div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br>
</span></div><div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br>
</span></div><div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br>
</span></div><div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br>
</span></div><div><span style="font-family:Verdana;font-size:12px;line-height:18px"><span style="color:rgb(68, 68, 68);font-size:11px;line-height:13px">______________________________________________</span></span></div>
<div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br></span></div>
<div><span style="color:rgb(68, 68, 68);font-family:Verdana;font-size:11px;line-height:13px"><br></span></div>
<div><span style="font-family:Verdana;font-size:12px;line-height:18px"><span style="color:rgb(68, 68, 68);font-size:11px;line-height:13px"><span style="color:rgb(0, 0, 0);font-size:12px;line-height:18px">Why is it that "Called 192*168*000*002*8600051@sip64" ? <br>
<br>Is it trying to call 8600051 as an USA number using sip64 and thats why is it hanging up in 3 secs ?</span></span></span></div><div><span style="font-family:Verdana;font-size:12px;line-height:18px"><span style="color:rgb(68, 68, 68);font-size:11px;line-height:13px"><span style="color:rgb(0, 0, 0);font-size:12px;line-height:18px"><br>
</span></span></span><div><span style="font-family:Verdana;font-size:12px;line-height:18px"><br></span></div></div>
</blockquote></div><br></div>