[asterisk-users] Polycom 501 - Auto answer on one line appearance - Solution

Chris Mason (Lists) lists at masonc.com
Sun Mar 11 01:35:51 MST 2007


I found the solution to having calls from SugarCRM auto-answer on the 
extension I route it to. I am documenting here for users who may want to 
do the same thing.

Setup
I have a second extension on my phone (500) which the calls are routed 
to, but there is no reason this wold not work on the main extension as 
it only auto-answers the call if the header is set. Calls placed via 
SugarCRM auto-answer on the extension so I don't have answer the line 
every time I want a call placed.

Polycom
The config file macaddress-phone.cfg should contain the following
    <alertInfo
        voIpProt.SIP.alertInfo.1.class="3"
        voIpProt.SIP.alertInfo.1.value="RANR"
      />
to enable the auto-answer. This is a global parameter so it cannot be 
enabled for one extension only.

SugarCRM
The open source add-in from VoiceRD 
http://www.sugarforge.org/projects/asterisk-int
will add an icon next to the number of the contact. Clicking that icon 
will place a call, first to your extension, then to the number.
The admin configures asterisk with the Asterisk Context: "sugar"
Each user is configured like this:

For a user on a sip extension 500
    Asterisk Phone Extension: Local/500

On the pbx, the context sugar is added

    [sugar]
    exten => s,1,Answer
    exten => s,n,NoOp(Context: Sugar)
    exten => s,n,SIPAddHeader(Alert-Info: RANR)
    include => default

[default] should give access to the extensions. Adapt to your own setup.

I have added this to the wiki
http://www.voip-info.org/wiki/view/Polycom+auto-answer+config

-- 
Chris Mason
(264) 497-5670 Fax: (264) 497-8463
Int:  (305) 704-7249 Fax: (815)301-9759 UK 44.207.183.0271
Cell: 264-235-5670
Yahoo IM: netconcepts_anguilla at yahoo.com 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the asterisk-users mailing list