FXO ports are considered Answered as soon as dialing completes.  This is the 
way analog FXO ports work.  Use PRI or SIP if you need correct Answer 
supervision.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of DHAVAL INDRODIYA
Sent: Thursday, February 16, 2012 6:28 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Dahdi Answer a Call On ringing State.

Hi Richard,

i update a new version of asterisk to 1.8.9.1 and checked the issue are still 
same and my call getting answer while it is in ringing.

here is brief details for finding root cause.

Dahdi -Version:  2.4.1.2 Echo Canceller: OSLEC[channels]

File : chan_dahdi.conf

context=from-pstn
signalling=fxs_ks
rxwink=300              ; Atlas seems to use long (250ms) winks
usecallerid=yes
hidecallerid=no
usecallerid=yes
callerid=asreceived
cidstart=polarity_in
cidsignalling=dtmf
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
callprogress=yes
echocancel=yes
echocancelwhenbridged=no
faxdetect=incoming
echotraining=800
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
relaxdtmf=yes
pulsedial=yes

;Uncomment these lines if you have problems with the disconection of your 
analog lines busydetect=yes
busycount=3
immediate=no
answeronpolarityswitch=yes
polarityonanswerdelay=1000

group=0
channel => 1

group=1
channel => 2

group=0
channel => 3

group=0
channel => 4



Let me know your thoughts on this

thanks
Dhaval





On Thu, Feb 16, 2012 at 1:47 PM, Richard Mudgett <[email protected]> wrote:


        > I have setup Dahdi with Sangoma FXO A200 card and asterisk 1.8 ,
        > everything seems fine and working perfectly incoing/outgoing.
        >
        > but one major issue is, when i made an out call from dahdi trunks and
        > when a number is in ringing state it gives me an answer state.
        
        
        This was recently fixed by
        https://issues.asterisk.org/jira/browse/ASTERISK-18841
        

        > so i cannot develop any custom application which can use a screening
        > macro because when a cellphone is in ringing state
        > call is answered by dahdi channel so it will start executing dial
        > plan which causes an issue.
        
        
        Richard
        
        --
        _____________________________________________________________________
        -- Bandwidth and Colocation Provided by http://www.api-digital.com --
        New to Asterisk? Join us for a live introductory webinar every Thurs:
                      http://www.asterisk.org/hello
        
        asterisk-users mailing list
        To UNSUBSCRIBE or update options visit:
          http://lists.digium.com/mailman/listinfo/asterisk-users
        



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to