Bug#469592: asterisk: no hangup when using imap voicemail store

Seth Green seth at baruchgreen.net
Tue Mar 11 18:46:46 UTC 2008


Just noticed you'd asked for the zapata.conf files.  Here you go (all 
pretty standard stuff -- did change the context to "from-zaptel" instead 
of "from-pstn" in order to get freepbx to process inbound routes correctly).

/etc/asterisk/zapta.conf
[channels]
language=en

;# global configuration

;# echo canceller:
;# this configuration will be valid for all channels FXO/FXS
;# see: http://www.voip-info.org/wiki/view/Asterisk+echo+cancellation
threewaycalling=yes
transfer=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=no
;echocancelwhenbridged=yes
;echotraining=800

;# hangup detection on FXO channels:
;# read more about this here:
;# 
http://www.asteriskguru.com/tutorials/resolving_hangup_detection_problems_fxo_tdm_voicemail.html
;#
;# while not all countries use this, it's relatively safe to assume hangup
;# when this happens
hanguponpolarityswitch=yes

;# fax detection:
;# valid values are incomming,outgoing,both,none
;# see: http://www.voip-info.org/wiki-Asterisk+fax
faxdetect=incoming


;# include hw detected by genzaptelconf
;# this file includes only FXO channels, while
;# zapata_additional.conf contains only FXS channels
;# FXO channels are stored at group 0
#include "zapata-channels.conf"

;# include zap extensions defined in AMP, FXS channels
;# FXO channels are stored at group 5
#include "zapata_additional.conf"


;# user defined zapata hardware configuration:
;# note that you also need to modify zaptel.conf manually.
;# note that if you are using genzaptelconf (or zaptel autoconfiguration
;# from AMP), you  need to be sure the same device is not defined twise.
;#
;# as a rule: try to use genzaptelconf when possible, and if you are not 
satisfied, edit manually.
;# but be warned that the changes will be lost on the next HW configuration.
;#
;# see: http://www.voip-info.org/wiki-Asterisk+config+zapata.conf

; XTDM20B Port #1,2 plugged into PSTN
;AMPLABEL:Channel %c - Button %n
;context=from-zaptel
;signalling=fxs_ks
;faxdetect=incoming
;usecallerid=yes
;echocancel=yes
;echocancelwhenbridged=no
;echotraining=800
;group=0
;channel=1-2

<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>

/etc/asterisk/zapata_additional.conf
; do not edit this file, this is an auto-generated file by freepbx
; all modifications must be done from the web gui
;;;;;;[100]
signalling=fxo_ks
record_out=Adhoc
record_in=Adhoc
mailbox=100 at default
immediate=no
echotraining=800
echocancelwhenbridged=no
echocancel=yes
dial=ZAP/1-1
context=from-internal
callprogress=no
callerid=device <100>
busydetect=no
busycount=7
accountcode=
channel=>1-1

<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>

/etc/asterisk/zapata-channels.conf
; Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
; Zaptel Channels Configurations (zapata.conf)
;
; This is not intended to be a complete zapata.conf. Rather, it is intended
; to be #include-d by /etc/zapata.conf that will include the global settings
;

; Span 1: WCTDM/0 "Wildcard TDM400P REV I Board 1" (MASTER)
;;; line="1 WCTDM/0/0 FXOKS (In use)"
signalling=fxo_ks
callerid="Channel 1" <6001>
mailbox=6001
group=5
context=from-internal
channel => 1
callerid=
mailbox=
group=
context=default

;;; line="3 WCTDM/0/2 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
rxgain=4
channel => 3
context=default

;;; line="4 WCTDM/0/3 FXSKS (In use)"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-zaptel
channel => 4
context=default






More information about the Pkg-voip-maintainers mailing list