<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">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>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>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 => </span><span>_00034XXXXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,To)
</span><br><span>
exten => _00034XXXXXXXXX,4,Hangup</span><br>-- <br>Thanks & Regards,<br>Godson Gera<br><a href="goog_1230183919974"></a><a href="http://godson.in/voip-asterisk-consultant-hyderabad-india">Asterisk Consultant Hyderabad</a><br>