thanks a lot for your replies!
I want to use a Digium TE110P E1 card.
I read here, voip-info.org/wiki/view/Asterisk+tips+did, that now instead of 4 digits we use 10 digits for DIDs, so I have to put the whole number.
I want to ask something additional. I have a TDM card with 1 FXO channel for incoming calls. The number for this is (210)XXXXXXX [also10 digits].
In the zapata.conf I put the context incoming1. In the extensions.conf I route the call to a particular sip user. If I use the “s” extension, then the call is made successfully, if I put instead of “s” extensions the number “210XXXXXXX”,then I have the next error:
*CLI> – Starting simple switch on ‘Zap/2-1’
== Starting Zap/2-1 at incoming1,s,1 failed so falling back to exten ‘s’
== Starting Zap/2-1 at incoming1,s,1 still failed so falling back to context 'default’
May 7 12:12:00 WARNING: pbx.c:2377 __ast_pbx_run: Channel ‘Zap/2-1’ sent into invalid extension ‘s’ in context ‘default’, but no invalid handler
– Hungup ‘Zap/2-1’
There is no way not to use the “s” extension?, but the actual number??