All pastes #633492 Raw Edit

ai-a

public text v1 · immutable
#633492 ·published 2007-07-25 18:46 UTC
rendered paste body
[root@asterisk ~]# cat /etc/zaptel.conf
# Autogenerated by /usr/local/sbin/sangoma/setup-sangoma -- do not hand edit
# Zaptel Channels Configurations (zaptel.conf)
#
loadzone=uk
defaultzone=uk

#Sangoma A101 port 1 [slot:4 bus:4 span: 1]
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
dchan=16

[root@asterisk ~]# cat /etc/asterisk/zapata.conf
;autogenerated by /usr/local/sbin/config-zaptel  do not hand edit
;Zaptel Channels Configurations (zapata.conf)
;
;For detailed zapata options, view /etc/asterisk/zapata.conf.orig

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1

immediate=no
immediate=no
pridialpan=unknown
prilocaldialplan=unknown
overlapdial=yes


;Sangoma A101 port 1 [slot:4 bus:4 span: 1]
switchtype=euroisdn
context=from-pstn
group=1
signalling=pri_cpe
channel => 1-15,17-19

=== Console ==========================
*CLI> dial 907777777777
[Jul 25 19:44:13] WARNING[19697]: chan_oss.c:682 setformat: Unable to re-open DSP device /dev/dsp: No such file or directory
The 'dial' command is deprecated and will be removed in a future release. Please use 'console dial' instead.
*CLI>     -- Executing [907777777777@default:1] Macro("OSS/dsp", "trunkdial|Zap/r1/07777777777") in new stack
    -- Executing [s@macro-trunkdial:1] NoOp("OSS/dsp", "") in new stack
    -- Executing [s@macro-trunkdial:2] Set("OSS/dsp", "CALLERID(num)=01527505410") in new stack
    -- Executing [s@macro-trunkdial:3] Dial("OSS/dsp", "Zap/r1/07777777777") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called r1/07777777777
    -- Channel 0/2, span 1 got hangup
    -- Forcing restart of channel 0/2 on span 1 since channel reported in use
    -- Hungup 'Zap/2-1'
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-trunkdial:4] Goto("OSS/dsp", "s-CHANUNAVAIL|1") in new stack
    -- Goto (macro-trunkdial,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-trunkdial:1] NoOp("OSS/dsp", "") in new stack
  == Auto fallthrough, channel 'OSS/dsp' status is 'CHANUNAVAIL'
[Jul 25 19:44:13] WARNING[19697] chan_oss.c: Unable to re-open DSP device /dev/dsp: No such file or directory