yrving rivas wrote:

Hi all:
I just bought and installed a TDM04B (4 fxo ports). It is running and ok.
I have 2 lines from my provider.
I can make two incoming calls come through my box to its extensions, but only one going out. I would like to make 2 calls from different extensions at the same time from my box out. ¿Where can I find information about? (I couldn´t find any at http://www.voip-info.org/wiki/view/Asterisk%40home+Handbook+Wiki) I´ll appreciate your help. Regards, Yrving

------------------------------------------------------------------------
Do You Yahoo!? La mejor conexión a Internet y *2GB* extra a tu correo por $100 al mes. http://net.yahoo.com.mx

------------------------------------------------------------------------

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
Could you please post your extensions.conf section that references how outbound calls work? My assumption would be that you are only referencing one of the zap interfaces and should either be using a group or listing the zap interfaces sequentially in the dialplan so that if the first one is in use the second one will be used.

Example of using a group would be, in zapata.conf for the lines you are trying to dial out on:
group=2

in extensions.conf:
TRUNK=ZAP/g2

exten => _NXXXXXX,1,Dial(${TRUNK}/${EXTEN})
exten => _NXXXXXX,2,Congestion

Doing it without a group would work as follows:
exten => _NXXXXXX,1,Dial(Zap/1/${EXTEN})
exten => _NXXXXXX,2,Dial(Zap/2/${EXTEN})
exten => _NXXXXXX,3,Congestion

Using a group lets you setup several lines to be used when the group is referenced.

More complex than you probably need but the letter used when referencing the group will change how the group works:
; g: select the lowest-numbered non-busy Zap channel
;    (aka. ascending sequential hunt group).
; G: select the highest-numbered non-busy Zap channel
;    (aka. descending sequential hunt group).
; r: use a round-robin search, starting at the next highest channel than last
;    time (aka. ascending rotary hunt group).
; R: use a round-robin search, starting at the next lowest channel than last
;    time (aka. descending rotary hunt group).
So Zap/g1 starts at the lowest line and Zap/G1 starts at the top of the available lines, etc....
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to