[asterisk-users] Cisco 79x1 Auto-Answer

Jeremiah Millay jeremiah at rockriver.net
Wed Jan 3 12:24:28 MST 2007


I'm using a mix of Cisco 7960, Linksys SPA-942, Cisco 7961, Cisco 7970 
phones in a paging group. I have all the phones set up with an extra 
line that auto answers the dial from my paging extension when the 
primary line is not in use. All of these are operating correctly however 
the 7961/7970s all ring once and then auto answer so the person paging 
all the phones has the first part of his dictation clipped. This only 
happens with 7961/7970. The linksys and the older 7960 (running 7.4 sip 
firmware) all answer right away and they hear everything. Anyone have 
the newer 7961s and 7970s running 8.X SIP firmware auto-answering 
without any initial ring?

Here are some configuration snippets:

extensions.conf

[globals]
INTERCOM=Local/2202_com at page&Local/2207 at page&Local/2205_com at page

[macro-page]
 ; Paging macro:
 ; Check to see if SIP device is in use and DO NOT PAGE if they are
 ; ${ARG1} - Device to page
 ; ${ARG2} - Other line (not paging line...we don't want to disturb 
their other line)
 ;

exten => s,1,ChanIsAvail(${ARG2}|js) ; j is for dump and s is for ANY 
call to indicate busy
exten => s,n,NoOp(${AVAILSTATUS})
exten => s,n,SIPAddHeader("Alert-Info: <Bellcore-dr5>") ; This is the 
shortest ringer for the Cisco phones
exten => s,n,SIPAddHeader(Call-Info:\;answer-after=0) ;  For Linksys SPA
exten => s,n,NoOp() ; Add others here
exten => s,n,Dial(${ARG1}||A())
exten => s,n,Hangup
exten => s,102,Hangup()

[page] ; Paging context

exten => 2201_com,1,Macro(page,SIP/2201_com,SIP/2201) ; 7970
exten => 2202_com,1,Macro(page,SIP/2202_com,SIP/2202) ; 7961
exten => 2203_com,1,Macro(page,SIP/2203_com,SIP/2203) ; 7960
exten => 2204_com,1,Macro(page,SIP/2204_com,SIP/2204) ; 7960
exten => 2205_com,1,Macro(page,SIP/2205_com,SIP/2205) ; 7960
exten => 2207,1,Macro(page,SIP/2207,SIP/2207) ; Linksys SPA-942




Here are the configuration lines relevant to auto-answer in the 
79x1/7970 configuration files:

<autoAnswerTimer>0</autoAnswerTimer>
<autoAnswerAltBehavior>false</autoAnswerAltBehavior>
<autoAnswerOverride>true</autoAnswerOverride>

This is configured under sipLines > line in the XML file

<autoAnswer>
  <autoAnswerEnabled>3</autoAnswerEnabled>
</autoAnswer>



The above phone configuration will allow the phone to auto-answer but 
after one ring. I'd like it to just work immediately. Any help would be 
appreciated.
Jeremiah



More information about the asterisk-users mailing list