[Freeswitch-users] Desktop phone - answer a ringing call via API call

Weigel, Stefan Stefan.Weigel at allianz-warranty.com
Fri Oct 7 17:30:50 MSD 2011


Hi Rob, list,



very funny, it's exactly what I'm trying to do at the moment.



In my dialplan I put:



<action application="export" data="alert_info=aa<http://www.notused.com;info=alert-external;x-line-id=0>"/>



In sip.cfg I put:



 <alertInfo voIpProt.SIP.alertInfo.1.value="aa" voIpProt.SIP.alertInfo.1.class="3" />

[..]

<AUTO_ANSWER se.rt.3.name="Auto Answer" se.rt.3.type="answer" />



When tracing I can see:



INVITE sip:567 at 192.168.1.1:5060 SIP/2.0

[..]

Alert-Info: <aa>

[..]



The '<>' tags are appended automatically. So I tried to modify sip.cfg a little bit:



<alertInfo voIpProt.SIP.alertInfo.1.value="&lt;aa&gt;" voIpProt.SIP.alertInfo.1.class="3" />



But it's not working. In the documentation I found a remark:



If set to 1, auto-answer is enabled for all SIP

calls.

Note: This parameter is supported on the

Polycom VVX 1500 only.



So I don't know if this feature will work for SIP calls with my 560.









Thanks and best regards,



Stefan





Von: Rob Hutton [mailto:justlikeef at gmail.com]
Gesendet: Freitag, 7. Oktober 2011 14:50
An: freeswitch-users at lists.freeswitch.org
Cc: Weigel, Stefan
Betreff: Re: [Freeswitch-users] Desktop phone - answer a ringing call via API call



It looks like Polycoms can be told to "auto answer" with the SIP header "Alert-Info: Ring Answer";



If the "CTI Interface" had the UUID of the call and the extension, then a quick API call or LUA script could add the sip header, then reinvite the phone causing it to answer.



Check out the Paging and Intercom page on the WIKI for more info on the auto answer setup.



On Friday 07 October 2011 04:42:32 Weigel, Stefan wrote:

> Hi Michael, list,

>

>

>

> that's the point.

>

> I would really appreciate a solution for that "problem".

>

> We're using FreeSwitch in an callcenter environment and people used to handle the calls through some kind of CTI interface before we switched to FreeSWITCH. So it would be great to have this feature. But there's no possibility to control Polycom phones that way.

>

>

>

> Hints on this topic are welcome!

>

>

>

>

>

> Thanks and best regards

>

>

>

> Stefan

>

>

>

> Btw.: FreeSWITCH rocks! It's so flexible, unbelievable.

>

>

>

>

>

> Von: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von Michael Collins

> Gesendet: Mittwoch, 5. Oktober 2011 18:42

> An: FreeSWITCH Users Help

> Betreff: Re: [Freeswitch-users] Desktop phone - answer a ringing call via API call

>

>

>

> This would be a function of the phone. AFAICT, Polycom does not have a Webby way of doing this. However, I think Brian West has a bead on using the expansion port along with an Arduino board to do some manual/remote control of the phone. If anyone has more information on remote controlling Polycoms (or any other phones, for that matter) please let us know.

>

>

>

> -MC

>

> On Tue, Oct 4, 2011 at 6:58 AM, Weigel, Stefan <Stefan.Weigel at allianz-warranty.com<mailto:Stefan.Weigel at allianz-warranty.com>> wrote:

>

> Hi all,

>

>

>

> Is there a way to answer a ringing desktop phone (Polycom Soundpoint IP 560) via api command ?

>

> I tried with SendMsg <uuid> and 'answer' application, but it's not want I need/want.

>

>

>

>

>

> Thanks and best regards,

>

>

>

> Stefan

>

>

>

> FreeSWITCH-users mailing list

> FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>

> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users

> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users

> http://www.freeswitch.org

>

>

>

>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111007/5d3f1c55/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list