Re: [Asterisk-Users] channel offset between Asterisk and PBX

2003-12-01 Thread Martin Pycko
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
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] channel offset between Asterisk and PBX

2003-11-28 Thread Roman Sidler

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