[Asterisk-Users] channel offset between Asterisk and PBX
Martin Pycko
martinp at digium.com
Mon Dec 1 10:32:33 MST 2003
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
>
More information about the asterisk-users
mailing list