Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
;
; Zapata telephony interface
;
; Configuration file
[trunkgroups]
trunkgroup => 1,48
spanmap => 1,1,2
spanmap => 2,1,0
[channels]
language=en
context=from-pstn
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=yes
echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no
Group=1
signalling=pri_cpe
switchtype=dms100
channel => 1-24
Group=2
signalling=pri_cpe
switchtype=dms100
channel => 25-47
span=1,1,2,esf,b8zs
span=2,0,0,esf,b8zs
bchan=1-24
bchan=25-47
dchan=48
loadzone=us
defaultzone=us
[general]
bindport=4569
disallow=all ; same as bandwidth=high
allow=ulaw
allow=g729
register=cobastsrv01:XXX@192.168.0.6
register=cobastsrv01:XXX@192.168.0.7
[cobastsrv02]
type=friend
username=cobastsrv02
secret=XXX
host=dynamic
disallow=all
allow=ulaw
qualify=yes
trunk=yes
;context=dialer
[cobastsrv03]
type=friend
username=cobastsrv03
secret=XXX
host=dynamic
disallow=all
allow=ulaw
qualify=yes
trunk=yes
context=dialer
exten => _1602NXXXXXX,1,Dial(Zap/g1/${EXTEN}||o)
exten => _1480NXXXXXX,1,Dial(Zap/g1/${EXTEN}||o)
exten => _1623NXXXXXX,1,Dial(Zap/g1/${EXTEN}||o)
exten => _91NXXNXXXXXX,1,Dial(IAX2/cobastsrv01@cobastsrv02/${EXTEN}|1)
exten => _1NXXNXXXXXX,1,Dial(IAX2/cobastsrv01@cobastsrv02/${EXTEN}|1)
[general]
bindport=4569
disallow=all ; same as bandwidth=high
allow=ulaw
register=cobastsrv02:XXX@192.168.0.5
register=cobastsrv02:XXX@192.168.0.7
[cobastsrv01]
type=friend
username=cobastsrv01
secret=XXX
host=dynamic
disallow=all
allow=ulaw
qualify=yes
trunk=yes
context=dialer
[cobastsrv03]
type=friend
username=cobastsrv03
secret=XXX
host=dynamic
disallow=all
allow=ulaw
qualify=yes
trunk=yes
context=dialer
exten => _1NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN}||o)
exten => _91NXXNXXXXXX,1,Dial(Zap/g1/${EXTEN}||o)
exten => _602NXXXXXX,1,Dial(IAX2/cobastsrv02@cobastsrv01/${EXTEN}||o)
exten => _480NXXXXXX,1,Dial(IAX2/cobastsrv02@cobastsrv01/${EXTEN}||o)
exten => _623NXXXXXX,1,Dial(IAX2/cobastsrv02@cobastsrv01/${EXTEN}||o)
-- Executing MeetMe("Local/8600056@default-2b3c,2", "8600056") in new stack
> Channel Local/8600056@default-2b3c,1 was answered.
-- Executing Dial("Local/8600056@default-2b3c,1", "IAX2/cobastsrv01@cobastsrv02/19256943102|1") in new stack
-- Called cobastsrv01@cobastsrv02/19256943102
-- Call accepted by 192.168.0.6 (format ulaw)
-- Format for call is ulaw
-- Nobody picked up in 1000 ms
-- Hungup 'IAX2/cobastsrv02-16384'
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
Jul 5 10:41:52 WARNING[4954]: pbx.c:2412 __ast_pbx_run: Timeout, but no rule 't' in context 'default'
-- Executing DeadAGI("Local/8600056@default-2b3c,1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
== Spawn extension (default, 8600056, 1) exited non-zero on 'Local/8600056@default-2b3c,2'
-- Executing DeadAGI("Local/8600056@default-2b3c,2", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Accepting AUTHENTICATED call from 192.168.0.5:
> requested format = ulaw,
> requested prefs = (),
> actual format = ulaw,
> host prefs = (ulaw),
> priority = mine
-- Executing Dial("IAX2/cobastsrv01-3", "Zap/g1/19256943102||o") in new stack
-- Called g1/19256943102
-- Hungup 'Zap/1-1'
== Spawn extension (dialer, 19256943102, 1) exited non-zero on 'IAX2/cobastsrv01-3'
-- Executing DeadAGI("IAX2/cobastsrv01-3", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Hungup 'IAX2/cobastsrv01-3'
exten => _91NXXNXXXXXX,1,Dial(IAX2/cobastsrv01@cobastsrv02/${EXTEN}|1)
exten => _1NXXNXXXXXX,1,Dial(IAX2/cobastsrv01@cobastsrv02/${EXTEN}|1)
Sep 7 04:54:35 WARNING[4002]: app_meetme.c:1524 conf_run: Unable to write frame to channel: Resource temporarily unavailable
Users browsing this forum: No registered users and 156 guests