Roman Sidler
2003-Nov-28 06:50 UTC
[Asterisk-Users] channel offset between Asterisk and PBX
Hi We interfaced our ASCOTEL PBX to Asterisk. by EuroISDN PRI , DSS1 It works fine on channels 1- 15, but on 17-31 the miststood each other. Asterisk speaks in Timeslots, the PBX in B-channels The signalling is ok, but the bridging is shifted. The first incoming connection is bridged to "nirwana" also no indication is hearable, calling a second internal subcribes bridges them to the first. The PBX sends a SETUP message with channel identification 30 and Asterisk bridges them to Zap-30, instead of Zap-31. The configuration - Digium TE410p card, set for E1 ________in zaptel.conf________ span=1,1,1,ccs,hdb3,crc4 bchan=1-15 dchan=16 bchan=17-31 ________in zapata.conf________ signalling => pri_cpe switchtype => euroisdn context => pri1-in pridialplan => unknown channel => 1-15 channel => 17-31 What's wrong? Thanks in advance Roman -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031128/636f3b1c/attachment.htm
Martin Pycko
2003-Dec-01 10:32 UTC
[Asterisk-Users] channel offset between Asterisk and PBX
You might need to edit the code of chan_zap.c You need two things to fix: outgoing calls and incoming calls. Outgoing you should be able to find pri_call call and do chan-1 for chans>16. For incoming calls you need to find the handling of PRI_EVENT_RING or something like that and do chan+1 for chans>16. regards Martin On Fri, 28 Nov 2003, Roman Sidler wrote:> Hi > We interfaced our ASCOTEL PBX to Asterisk. by EuroISDN PRI , DSS1 > It works fine on channels 1- 15, but on 17-31 the miststood each other. > Asterisk speaks in Timeslots, the PBX in B-channels > > The signalling is ok, but the bridging is shifted. The first incoming > connection is bridged to "nirwana" also no indication is hearable, > calling a second internal subcribes bridges them to the first. > > The PBX sends a SETUP message with channel identification 30 and Asterisk > bridges them to Zap-30, instead of Zap-31. > > The configuration > - Digium TE410p card, set for E1 > > ________in zaptel.conf________ > span=1,1,1,ccs,hdb3,crc4 > > bchan=1-15 > dchan=16 > bchan=17-31 > ________in zapata.conf________ > signalling => pri_cpe > switchtype => euroisdn > context => pri1-in > pridialplan => unknown > channel => 1-15 > channel => 17-31 > > > What's wrong? > Thanks in advance > > Roman >