Re: [Asterisk-Users] newbie install problem. And I already searchedeverywhere!

2005-09-03 Thread Werner Johansson

When startin * it tells me:

[chan_zap.so] = (Zapata Telephony w/PRI)
== Parsing '/etc/asterisk/zapata.conf': Found
Sep 3 17:21:59 DEBUG[1076873856]: chan_zap.c:1208 update_conf: Updated
conferencing on 1, with 0 conference users
-- Registered channel 1, PRI Signalling signalling
Sep 3 17:21:59 DEBUG[1076873856]: chan_zap.c:1208 update_conf: Updated
conferencing on 2, with 0 conference users
-- Registered channel 2, PRI Signalling signalling
-- Automatically generated pseudo channel
== Starting D-Channel on span 1

..snip..

and my zapata.conf is:
===
[channels]
switchtype = euroisdn

; p2mp TE mode
signalling = bri_cpe_ptmp

; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
signalling = bri_net

pridialplan = national
prilocaldialplan = local
nationalprefix = 0
internationalprefix = 00

echocancel=yes
echotraining = 100
echocancelwhenbridged=yes

immediate=yes
group = 1
context=incoming
channel = 1-2



This configuration looks strange. You know that the channel word sets 
those channels to the latest settings above, right? The syntax is a bit 
weird. That means that your signalling looks odd - first you set it to 
bri_cpe_ptmp and then to bri_net, meaning that bri_net overrides the 
previous setting. I'm a bit confused about the PRI signalling here, it looks 
like you're using a BRI card, so why pridialplan? I haven't played around 
with BRI equipment together with Asterisk (yet) so maybe the PRI signalling 
should be there..


What is ztcfg -vv giving as output if you run it?

/Werner 


___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] newbie install problem. And I already searchedeverywhere!

2005-09-03 Thread Jeroen Baten
Op zaterdag 3 september 2005 18:04, schreef Werner Johansson:
 This configuration looks strange. You know that the channel word sets
 those channels to the latest settings above, right? The syntax is a bit
 weird. That means that your signalling looks odd - first you set it to
 bri_cpe_ptmp and then to bri_net, meaning that bri_net overrides the
 previous setting. I'm a bit confused about the PRI signalling here, it
 looks like you're using a BRI card, so why pridialplan? I haven't played
 around with BRI equipment together with Asterisk (yet) so maybe the PRI
 signalling should be there..

As per your suggestion I commented the odd things out. No joy still :-)

;
; Zapata telephony interface
;
; Configuration file

[channels]
;
; Default language
;
;language=en
;
; Default context
;
;
switchtype = euroisdn

; p2mp TE mode
;signalling = bri_cpe_ptmp

; p2p TE mode
;signalling = bri_cpe
; p2mp NT mode
;signalling = bri_net_ptmp
; p2p NT mode
signalling = bri_net

;pridialplan = national
;prilocaldialplan = local
;nationalprefix = 0
;internationalprefix = 00

;echocancel=yes
;echotraining = 100
;echocancelwhenbridged=yes

;immediate=yes
group = 1
context = default
channel = 1-2



 What is ztcfg -vv giving as output if you run it?

server:/var/log/asterisk # ztcfg -vv

Zaptel Configuration
==

SPAN 1: CCS/ AMI Build-out: 399-533 feet (DSX-1)

Channel map:

Channel 01: Individual Clear channel (Default) (Slaves: 01)
Channel 02: Individual Clear channel (Default) (Slaves: 02)
Channel 03: D-channel (Default) (Slaves: 03)

3 channels configured.

server:/var/log/asterisk # 

BTW: thanks for looking in to this.

kind regards,

-- 
  Jeroen Baten| EMAIL :  [EMAIL PROTECTED]
   _  __  | web   :  www.i2rs.nl
  |  )|_)(_   | tel   :  +31 (0)499 477 688
 _|_/_| \__)  | fax   :  +31 (0)499 476 804
Roerlaan 36, 5691 HJ, Son, the Netherlands
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] newbie install problem. And I already searchedeverywhere!

2005-09-03 Thread Jeroen Baten
Op zaterdag 3 september 2005 18:04, schreef Werner Johansson:
 This configuration looks strange. You know that the channel word sets
 those channels to the latest settings above, right? The syntax is a bit
 weird. That means that your signalling looks odd - first you set it to
 bri_cpe_ptmp and then to bri_net, meaning that bri_net overrides the
 previous setting. I'm a bit confused about the PRI signalling here, it
 looks like you're using a BRI card, so why pridialplan? I haven't played
 around with BRI equipment together with Asterisk (yet) so maybe the PRI
 signalling should be there..

I just changed in zapata.conf the signalling to:
signalling = bri_net_ptmp

and this changes the output considerably:

*CLI
-- Executing Dial(SIP/4001-2fea, Zap/2/mycellphonenumber}) in new 
stack
-- Called mycellphonenumber}
-- Channel 0/2, span 1 got hangup
-- Hungup 'Zap/2-1'
  == No one is available to answer at this time

*CLI   

Cool. Too bad I seem to be unavailable :-)

-- 
  Jeroen Baten| EMAIL :  [EMAIL PROTECTED]
   _  __  | web   :  www.i2rs.nl
  |  )|_)(_   | tel   :  +31 (0)499 477 688
 _|_/_| \__)  | fax   :  +31 (0)499 476 804
Roerlaan 36, 5691 HJ, Son, the Netherlands
___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] newbie install problem. And I already searchedeverywhere!

2005-09-03 Thread Dave Cotton
On Sat, 2005-09-03 at 20:47 +0200, Jeroen Baten wrote:

 I just changed in zapata.conf the signalling to:
 signalling = bri_net_ptmp
 
 and this changes the output considerably:
 
 *CLI
 -- Executing Dial(SIP/4001-2fea, Zap/2/mycellphonenumber}) in new 
 stack
 -- Called mycellphonenumber}
 -- Channel 0/2, span 1 got hangup
 -- Hungup 'Zap/2-1'
   == No one is available to answer at this time
 
 *CLI   
 

That's exactly the same as I got on Friday.

I'd just changed from a Fritz! with chan_capi to a 4 way BRI, reverting
to the Fritz! restored everything.


-- 
Dave Cotton [EMAIL PROTECTED]

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users