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
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.
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.
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.