[Asterisk-Users] Re: Can't get Polycom auto-answer to work
Kristian Kielhofner
kris at krisk.org
Fri Feb 4 12:01:05 MST 2005
Noah Miller wrote:
>>>>> -- Executing SetVar("SIP/27-8b27", "ALERT_INFO=Ring Answer") in
>>>>
>>>> new
>>>>
>>>>> stack
>>>>> -- Executing Dial("SIP/27-8b27", "SIP/19|20") in new stack
>>>>> -- Called 19
>>>>> -- SIP/19-e562 is ringing
>>>>>
>>>>> and the phone just rings. Any ideas? Is it the firmware version?
>>>>
>>>> Am I
>>>>
>>>>> not setting ALERT_INFO correctly?
>>>>
>>>>
>>>> It's possible, but hard to say since you didn't tell us what version of
>>>> Asterisk you are using. If you are using CVS HEAD (and not the stable
>>>> series), you will have to set _ALERT_INFO instead, so it will be
>>>> carried
>>>> down into the channel that the Dial app creates.
>>>
>>>
>>> It's an older version of CVS HEAD:
>>> CVS-HEAD-11/03/04-14:59:37
>>>
>>> I tried with _ALERT_INFO also - the result is the same.
>>
>>
>> Here's what is actually working with a spa3k and CVS-HEAD-01/08/05:
>> exten => 3020,1,SetVar(_ALERT_INFO=bellcore-r3) ; selects Ringer
>> exten => 3020,2,Dial(SIP/3020,25,r)
>> exten => 3020,3,Voicemail(u3020)
>> exten => 3020,103,Voicemail(b3020)
>> exten => 3020,104,Hangup
>>
>> I don't have a Polycom handy to test with.
>
>
> I did a "sip debug peer 19", and here is part of that debug that shows
> that asterisk is trying to send the alert-info variable to the phone.
>
> Reliably Transmitting:
> INVITE sip:19 at 192.168.42.7 SIP/2.0
> Via: SIP/2.0/UDP 192.168.1.130:5060;branch=z9hG4bK304b1809
> From: "Noah Miller" <sip:27 at 192.168.1.130>;tag=as44d2096b
> To: <sip:19 at 192.168.42.7>
> Contact: <sip:27 at 192.168.1.130>
> Call-ID: 027aafb568b575df191ea5444acc590d at 192.168.1.130
> CSeq: 102 INVITE
> User-Agent: Asterisk PBX
> Date: Fri, 04 Feb 2005 17:39:53 GMT
> Alert-info: Ring Answer
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
> Content-Type: application/sdp
> Content-Length: 160
>
>
> So I guess the problem is in my config for the phone? Or maybe asterisk
> has to send "alert-info" more than just once? Does anybody have this
> auto-answer config working reliably on a Polycom phone?
>
> Thanks!
> Noah
Noah,
Please see my Polycom config files at
http://www.kriscompanies.com/modules.php?name=Downloads&d_op=viewdownload&cid=1
I have a setup for a Ring-answer and autoanswer.
--
Kristian Kielhofner
More information about the asterisk-users
mailing list