[Asterisk-Users] FXO setup

Rich Adamson radamson at routers.com
Tue Nov 16 07:33:16 MST 2004


> Got another question for you guys.. my x100p is on the same line as
> the rest of the phones in the house my issue is for example..
> 
> a incomming call comes in and another extention picks it up before the
> * box picks it up.. so the other person will be on the phone and the *
> box will still pickup the line like 20 sec later and try to answer..
> its like * is not seeing that the line has been answered.
> 
> my zapata.conf
> [channels]
> signalling=fxs_ks
> usecallerid=yes
> hidecallerid=no
> callwaiting=yes
> usecallingpres=yes
> callwaitingcallerid=yes
> threewaycalling=yes
> transfer=yes
> cancallforward=yes
> callreturn=yes
> echocancel=yes
> echotraining=800
> rxgain=0
> txgain=0
> immediate=no
> busydetect=yes
> busycount=4
> musiconhold=default
> channel => 1
> context=default

Asterisk does not _answer_ the incoming call when its ringing. It 
only _senses_ the ringing and executes whatever you told it to do
in the dialplan.  If your dialplan for that incoming call includes
a step that says "answer", then use it will answer that call.

But if you dialplan simply looks something like:
 [inbound-home]                                                       
 exten => s,1,Dial(SIP/3010,20))                               
 exten => s,103,Hangup   
then asterisk will sense the incoming zap call ring, and dial x3010
"without first answering the zap call".

Using the above approach, someone might answer that incoming call
using an ordinary analog phone (on the pstn line), and asterisk will
stop ringing the sip/3010 about a ring or two later.

Further, if you have an answering machine on the analog line that
you really want to use, then set the ",20" timeout to something
longer then the time it takes the answering machine to pick up the
call. Asterisk will stop ringing the sip phone after 20 seconds.





More information about the asterisk-users mailing list