<div dir="ltr">Sorry for being late to reply (end of the year I guess lol), I ended up putting the two trunks under the same group & dialing thru that group in my extentions.conf<br><br><br><br><div class="gmail_quote">
On Thu, Dec 25, 2008 at 8:27 AM, Godson Gera <span dir="ltr"><<a href="mailto:godson.g@gmail.com">godson.g@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Tue, Dec 23, 2008 at 7:32 PM, Nick Wolf <span dir="ltr"><<a href="mailto:newx22@gmail.com" target="_blank">newx22@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr"><span>I have a TE210P digium card that has 2 E1/T1 ports.<br><br>the code in my extensions.conf file for span 1 is : <br><br>[globals]<br>CONSOLE=Console/dsp ; Console interface for demo<br>
TRUNK=Zap/g1 ; Trunk interface<br>TRUNKX=Zap/g2 ; 2nd trunk interface<br>...<br>...<br>; dial a long distance outbound number to SPAIN
<br>
; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
<br>
exten => _00034XXXXXXXXX,1,AGI(agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>)
<br>
exten => _00034XXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},55,To)
<br>
exten => _00034XXXXXXXXX,3,Hangup<br>... <br>...<br>and it works fine, but I need to start working with my second span & I don't know how to add it in extensions.conf file.<br><br></span><span></span></div></blockquote>
</div><br></div></div>you either bring both the trunks under one group in zapata.conf or replace TRUNK with TRUNKX in your dial command, how ever that would leave first runk idle, also you can add one more dial command as show below<br>
<br clear="all"><span><div class="Ih2E3d">exten => _00034XXXXXXXXX,1,AGI(agi://<a href="http://127.0.0.1:4577/call_log" target="_blank">127.0.0.1:4577/call_log</a>)
<br>
exten => _00034XXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},55,To)
<br></div>exten => </span><span>_00034XXXXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,To)
</span><br><span>
exten => _00034XXXXXXXXX,4,Hangup</span><br><font color="#888888">-- <br>Thanks & Regards,<br>Godson Gera<br><a href="http://goog_1230183919974" target="_blank"></a><a href="http://godson.in/voip-asterisk-consultant-hyderabad-india" target="_blank">Asterisk Consultant Hyderabad</a><br>
</font><br>_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</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><br></div>