Dahdi config spans

Hi All.
I have a Sangoma E1 card in my server and work properly, like this:

; Span 1: TE2/0/1 “T2XXP (PCI) Card 0 Span 1” (MASTER)
switchtype = euroisdn
signalling = pri_cpe
channel => 1-15,17-31
context = default
group = 63

Now I have some question?
Why there is 2 context in span 1?
what dose group=0,11 and group=63 means?
and i want allocate 2 Chanels of 31 chanels only for outgoing call, and other chanels only for incoming, How can i configure this?
with regards.Mojtaba

  1. The second context and groups lines have no effect as there are no channels defined. Whatever software created this file was simply restoring the default settings for anything that followed.

  2. Using either DAHDI/g0 or DAHDI/g11 will allow the use of the channels in the channel line, for outgoing calls. This should reflect input you provided to the configuration process.

  3. Incoming only; put the channels in a group that is not used for outgoing calls. Outgoing only: talk to your network operator. Normally people allocate all channels for both, but list them in the opposite order to that used by the network operator.

None of this is Sangoma specific.

Please use Asterisk Support for non-Sangoma specific questions, and contact Sangoma for Sangoma specific ones.

Hi david55
Thanks for your replying, But i dont underestand very well, could you describe more detail with simple example?
With Regards.