Re: [Asterisk-Users] asterisk@home 0.9 zap problems

2005-04-22 Thread Time Bandit
 
  -- Executing Dial(SIP/3001-e13a, ZAP/1/65869804) in new stack
 
 This is what's wrong I think. The line is missing the 'g' for the trunk
 group.  On all of my [EMAIL PROTECTED] boxes the cli shows
 
-- Executing Dial(SIP/227-a4dd, ZAP/g0/3428463) in new stack
It depends how you set it up in AMP. Click on Setup-Trunks. Do you
have a trunk named ZAP/g0 or one named ZAP/1 ?

if it's ZAP/1 then click on it, and go at the bottom at Zap
Identifier (trunk name) : and enter g0. Press Submit changes then
apply your changes. That should fix it.

hth
___
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


[Asterisk-Users] asterisk@home 0.9 zap problems

2005-04-21 Thread Dinesh








Hi all,



Trying to upgrade to the new version, and all went well. I
am having some problems with the zaptel config. 



When ever I try to dial a pstn number, I get this message.
I did a yum update and also recompiled the zaptel and asterisk modules in
/usr/src. I used the same machine as I was using it for [EMAIL PROTECTED]
0.6. 



genzaptelconf
autoconfig Zaptel cards



I used as per what the [EMAIL PROTECTED] manual told me. I
see all the modules for zaptel loaded



[EMAIL PROTECTED] root]# dmesg | grep Zap

Zapata Telephony Interface Registered on major 196



[EMAIL PROTECTED] root]# lsmod | grep zap

zaptel
178560 4 [ztdummy wcfxs]



but still getting this annonying error saying all circuits
are busy. I also get this error when I do a zaptel restart.



[EMAIL PROTECTED] zaptel]# /etc/init.d/zaptel restart

Unloading zaptel hardware drivers: wcfxs ztdummy 

Removing zaptel module: zaptel: Device or resource
busy

[FAILED]

Loading zaptel framework: [ OK ]

Waiting for zap to come online ...OK

Loading zaptel hardware modules: wcfxs ztdummy 

Running ztcfg: [ OK ]



Is this normal?



I have tested the phone socket on the port 1 its working
fine. I also tried to play around with the trunks g1 g0..etc, doesnt
work.



My Zapata.conf



;

; Zapata telephony interface

;

; Configuration file



[trunkgroups]



[channels]



language=en

context=from-pstn

signalling=fxs_ks

rxwink=300
; Atlas seems to use long (250ms) winks

;

; Whether or not to do distinctive ring detection on FXO
lines

;

;usedistinctiveringdetection=yes



usecallerid=yes

hidecallerid=no

callwaiting=yes

usecallingpres=yes

callwaitingcallerid=yes

threewaycalling=yes

transfer=yes

cancallforward=yes

callreturn=yes

echocancel=yes

echocancelwhenbridged=no

echotraining=800

rxgain=0.0

txgain=0.0

group=1

callgroup=1

pickupgroup=1

immediate=no



;faxdetect=both

faxdetect=incoming

;faxdetect=outgoing

;faxdetect=no



[EMAIL PROTECTED] root]# asterisk -r

Asterisk 1.0.7, Copyright (C) 1999-2004 Digium.

Written by Mark Spencer [EMAIL PROTECTED]

=

Connected to Asterisk 1.0.7 currently running on owl (pid =
1707)

Verbosity is at least 3

 -- Executing
Macro(SIP/3001-e13a, dialout-trunk|1|65869804) in new
stack

 -- Executing
GotoIf(SIP/3001-e13a, 1?4) in new stack

 -- Goto (macro-dialout-trunk,s,4)

 -- Executing
GotoIf(SIP/3001-e13a, 0?6) in new stack

 -- Executing
SetCallerID(SIP/3001-e13a, 64789451) in new stack

 -- Executing
SetGroup(SIP/3001-e13a, OUT_1) in new stack

 -- Executing
CheckGroup(SIP/3001-e13a, 1) in new stack

 -- Executing
SetVar(SIP/3001-e13a, DIAL_NUMBER=65869804) in new
stack

 -- Executing
SetVar(SIP/3001-e13a, DIAL_TRUNK=1) in new stack

 -- Executing
AGI(SIP/3001-e13a, fixlocalprefix) in new stack

 -- Launched AGI Script
/var/lib/asterisk/agi-bin/fixlocalprefix

 -- AGI Script fixlocalprefix completed,
returning 0

 -- Executing
Dial(SIP/3001-e13a, ZAP/1/65869804) in new stack

 == Everyone is busy/congested at this time

 -- Executing
NoOp(SIP/3001-e13a, dial failed) in new stack

 -- Executing
Macro(SIP/3001-e13a, outisbusy) in new stack

 -- Executing
Playback(SIP/3001-e13a, allison7/all-circuits-busy-now)
in new stack

 -- Playing
'allison7/all-circuits-busy-now' (language 'en')

 -- Executing
Playback(SIP/3001-e13a, allison7/pls-try-call-later) in
new stack

 -- Playing 'allison7/pls-try-call-later'
(language 'en')

 -- Executing
Macro(SIP/3001-e13a, hangupcall) in new stack

 -- Executing
ResetCDR(SIP/3001-e13a, w) in new stack

 -- Executing
NoCDR(SIP/3001-e13a, ) in new stack

 -- Executing
Wait(SIP/3001-e13a, 5) in new stack

 == Spawn extension (macro-hangupcall, s, 3) exited
non-zero on 'SIP/3001-e13a' in macro 'hangupcall'

 == Spawn extension (macro-outisbusy, s, 3) exited
non-zero on 'SIP/3001-e13a' in macro 'outisbusy'

 == Spawn extension (from-internal, 65869804, 2)
exited non-zero on 'SIP/3001-e13a'

 -- Executing
Macro(SIP/3001-e13a, hangupcall) in new stack

 -- Executing
ResetCDR(SIP/3001-e13a, w) in new stack

 -- Executing
NoCDR(SIP/3001-e13a, ) in new stack

 -- Executing
Wait(SIP/3001-e13a, 5) in new stack

 == Spawn extension (macro-hangupcall, s, 3) exited
non-zero on 'SIP/3001-e13a' in macro 'hangupcall'

 == Spawn extension (from-internal, h, 1) exited
non-zero on 'SIP/3001-e13a'



[EMAIL PROTECTED] zaptel]# genzaptelconf -s





STOPPING ASTERISK



Disconnected from Asterisk server

Asterisk Stopped



STOPPING FOP SERVER

FOP Server Stopped



SETTING FILE PERMISSIONS

Permissions OK



STARTING ASTERISK

Asterisk Started



STARTING FOP SERVER



** SIP/3001 in position 2

** IAX2/3004 in position 3

FOP Server Started

 Chan Extension
Context Language
MusicOnHold 

pseudo
from-pstn
en


Verbosity is at least 3



[EMAIL PROTECTED] zaptel]# cat /etc/zaptel.conf

# Autogenerated by /usr/local/sbin/genzaptelconf -- do not
hand edit

# Zaptel Configuration File

#

# This 

Re: [Asterisk-Users] asterisk@home 0.9 zap problems

2005-04-21 Thread Henry Devito
-- Executing Dial(SIP/3001-e13a, ZAP/1/65869804) in new stack
This is what's wrong I think. The line is missing the 'g' for the trunk 
group.  On all of my [EMAIL PROTECTED] boxes the cli shows

  -- Executing Dial(SIP/227-a4dd, ZAP/g0/3428463) in new stack 

___
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