Polycom and auto answer

Home » Asterisk Users » Polycom and auto answer
Asterisk Users 6 Comments

Hi,

I’ve been meaning to fix my non-working paging feature here for a while, and
I’ve just spent the last 5 hours looking at many, many web pages that all
say the same thing. I am using Asterisk 1.6.2.18 and Polycom phones, both
older (501 with “latest” legacy 3.1.7 firmware) and newer (335 and 650 with
latest 3.3.1f).

I have changed the correct values in sip.cfg like this:

voIpProt.SIP.alertInfo.1.class=”4″ />

and
se.rt.4.timeout=”2000″ se.rt.4.ringer=”2″ se.rt.4.callWait=”6″
se.rt.4.mod=”1″/>

Meaning that anything with alert info “Ring Answer” will auto-answer after a
symbolic 2ms ring.

My relevant context is this:
[paging]
exten => s,1,Verbose(1,paging)
exten => s,n,Set(TIMEOUT(absolute)=30) ;to prevent call from being stuck
exten => s,n,SIPAddHeader(Alert-Info: Ring Answer)
exten => s,n,Page(SIP/sipphone)

Sure enough, sip debug shows alert-info: Ring Answer at the correct step.
But the phones keeps on ringing and never answer.

I think I’m going blind from looking at the same solution over and over
again and not being able to implement it. Is there something else obvious
that isn’t mentioned but could result in this not working?

Mike

6 thoughts on - Polycom and auto answer

  • Warren,

    Thanks, I ended up doing that but it didn’t change a thing. I mean, the
    originating phone does not drop into a conference obviously, but the ringing
    still goes on and on for 30 secs (my timeout).

    Mike

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Warren Selby
    Sent: Monday, August 08, 2011 2:15 AM

    Hi,

    [paging]

    exten => s,1,Verbose(1,paging)
    exten => s,n,Set(TIMEOUT(absolute)=30) ;to prevent call from being stuck
    exten => s,n,SIPAddHeader(Alert-Info: Ring Answer)
    exten => s,n,Page(SIP/sipphone)

    Try changing the Page() to a Dial() command and see if that makes a
    difference.

  • Here’s what I have and it works for me in 1.8.5:

    in sip.cfg



    voIpProt.SIP.alertInfo.1.class=”ringAutoAnswer”
    voIpProt.SIP.alertInfo.1.value=”Ring Answer”
    voIpProt.SIP.alertInfo.2.class=”autoAnswer”
    voIpProt.SIP.alertInfo.2.value=”Auto Answer” />

    in extensions.conf
    exten => 3500,1,SIPAddHeader(Alert-Info: Auto Answer)
    exten => 3500,n,Page(SIP/3011&SIP/3021&SIP/3110) ; Shortened for
    example. I actually have about 20 phones here.
    exten => 3500,n,Hangup

    This is working fine in an environment with many 330s, some 450s, some
    335s and a 550 all running 3.3.1

    Hope this helps you out.

    Bob

  • Turns out this was (drum roll) a router issue. pfSense didn`t work (old Beta
    of 2.0). I’ll try upgrading, but can anyone help me understand how a router
    can allow phones to work 100% correctly except for Alert-Info messages (this
    is a hosted PBX environment, but everything except paging works)?

    Mike

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Mike
    Sent: Monday, August 08, 2011 7:18 AM

    Warren,

    Thanks, I ended up doing that but it didn’t change a thing. I mean, the
    originating phone does not drop into a conference obviously, but the ringing
    still goes on and on for 30 secs (my timeout).

    Mike

    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Warren Selby
    Sent: Monday, August 08, 2011 2:15 AM

    Hi,

    [paging]

    exten => s,1,Verbose(1,paging)
    exten => s,n,Set(TIMEOUT(absolute)=30) ;to prevent call from being stuck
    exten => s,n,SIPAddHeader(Alert-Info: Ring Answer)
    exten => s,n,Page(SIP/sipphone)

    Try changing the Page() to a Dial() command and see if that makes a
    difference.

  • I had a similar problem recently.

    My auto-answer has typically worked in the past for my Polycom phones. Recently, I was testing and it wasn’t working on my test PBX although it was working in production.

    In the end, the problem was my router although I don’t know why. I have several phones (Polycom and other) behind my router. I had to unplug all the phones (except one) in order to get auto-answer to work properly.