On Tue, Dec 23, 2008 at 7:32 PM, Nick Wolf <[email protected]> wrote:

> I have a TE210P digium card that has 2 E1/T1 ports.
>
> the code in my extensions.conf file for span 1 is  :
>
> [globals]
> CONSOLE=Console/dsp                             ; Console interface for
> demo
> TRUNK=Zap/g1                                    ; Trunk interface
> TRUNKX=Zap/g2                                   ; 2nd trunk interface
> ...
> ...
> ; dial a long distance outbound number to SPAIN
> ; This 'o' Dial flag is VERY important for VICIDIAL on outbound calls,
> exten => _00034XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
> exten => _00034XXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},55,To)
> exten => _00034XXXXXXXXX,3,Hangup
> ...
> ...
> 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.
>
>
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

exten => _00034XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _00034XXXXXXXXX,2,Dial(${TRUNK}/${EXTEN:1},55,To)
exten => _00034XXXXXXXXX,3,Dial(${TRUNKX}/${EXTEN:1},55,To)
exten => _00034XXXXXXXXX,4,Hangup
-- 
Thanks & Regards,
Godson Gera
<goog_1230183919974>Asterisk Consultant
Hyderabad<http://godson.in/voip-asterisk-consultant-hyderabad-india>
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to