<span class="postbody">Hi guys,
<br>
<br>
I'm tryng to estabilish a trunk with an Alcatel 4200 Pabx. In asterisk i'm using a Digium TE110P as E1.
<br>
The span is ok with green led, but when pabx make calls to asterisk, i received this error:
<br>
<br>
asterisk*CLI>
<br>
!! Unexpected Channel selection 3
<br>
-- Accepting call from '3069' to '30818559' on channel 1/31, span 1
<br>
-- Executing Dial("Zap/31-1", "SIP/30818559@fp-33133000|20|Tt") in new stack
<br>
-- Called 30818559@fp-33133000
<br>
-- SIP/fp-33133000-09fdfa90 is ringing
<br>
!! Unexpected Channel selection 3
<br>
-- SIP/fp-33133000-09fdfa90 answered Zap/31-1
<br>
!! No channel map, no channel, and no ds1? What am I supposed to identify?
<br>
!! Unable to add IE 'Channel Identification'
<br>
== Spawn extension (default, 30818559, 1) exited non-zero on 'Zap/31-1'
<br>
-- Hungup 'Zap/31-1'
<br>
Sep 23 20:13:25 WARNING[3765]: chan_zap.c:8788 pri_dchannel: Hangup requested on unconfigured channel 255/255 span 1
<br>
Sep 23 20:13:29 WARNING[3765]: chan_zap.c:8788 pri_dchannel: Hangup requested on unconfigured channel 255/255 span 1
<br>
<br>
My configuration files is:
<br>
<br>
/etc/zaptel.conf
<br>
<br>
span=1,1,0,ccs,hdb3,crc4
<br>
bchan=1-15
<br>
dchan=16
<br>
bchan=17-31
<br>
<br>
/etc/asterisk/zapata.conf
<br>
<br>
trunkgroup => 1,16
<br>
spanmap => 1,1,1
<br>
language=uk
<br>
context=default
<br>
switchtype=euroisdn
<br>
signalling=pri_net
<br>
group=1
<br>
callgroup=1
<br>
pickupgroup=1
<br>
immediate=no
<br>
echocancel=yes
<br>
channel => 1-15,17-31
<br>
<br>
/etc/asterisk/extensions.conf
<br>
<br>
# SIP -> Alcatel
<br>
exten=> 331330XX,1,Dial(Zap/g1/${EXTEN})
<br>
exten=> 331330XX,2,Hangup
<br>
<br>
# Alcatel -> SIP
<br>
exten=> _XXXXXXXX,1,Dial(SIP/${EXTEN}@fp,20,Tt) #
<br>
exten=> _XXXXXXXX,2,Hangup
<br>
<br>
<br>
What can be hrong in this configuration ???
<br>
<br>
Thanks.
<br>
<br></span><br>-- <br>Frederico Madeira<br><a href="mailto:fmadeira@gmail.com">fmadeira@gmail.com</a>