[asterisk-users] second trunk in extensions.conf

Nick Wolf newx22 at gmail.com
Sat Jan 3 02:38:11 CST 2009


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



On Thu, Dec 25, 2008 at 8:27 AM, Godson Gera <godson.g at gmail.com> wrote:

>
>
> On Tue, Dec 23, 2008 at 7:32 PM, Nick Wolf <newx22 at gmail.com> 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
> <http://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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090103/8140988c/attachment.htm 


More information about the asterisk-users mailing list