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

Weigel, Stefan Stefan.Weigel at allianz-warranty.com
Sat Oct 8 16:13:45 MSD 2011


Hi Anthony,

wonderful! It's exactly what I need :)
As long as the hardware knows to handle the NOTIFY messages it's working like a charm.


Thanks a lot!


Best regards,

Stefan

________________________________________
Von: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] im Auftrag von Anthony Minessale [anthony.minessale at gmail.com]
Gesendet: Samstag, 8. Oktober 2011 00:05
An: FreeSWITCH Users Help
Betreff: Re: [Freeswitch-users] Desktop phone - answer a ringing call via       API call

if you want to let the phone ring normally then answer it once its
ringing you can use this FSAPI

uuid_phone_event <uuid of ringing call> talk


On Fri, Oct 7, 2011 at 10:35 AM, Brad Mina <brad at tech21.com> wrote:
> Could you possibly document on the wiki exactly what you did and link to it
> from this thread?
>
> On Fri, Oct 7, 2011 at 6:45 AM, Weigel, Stefan
> <Stefan.Weigel at allianz-warranty.com> wrote:
>>
>> Hi Rob, list,
>>
>>
>>
>> <action application="export" data="sip_auto_answer=true"/>
>>
>>
>>
>> did the trick!
>>
>>
>>
>> Somebody could append ‘Polycom 560’ to the models working with this on the
>> WIKI-page http://wiki.freeswitch.org/wiki/Intercom
>>
>>
>>
>> I will play around, maybe I can do it now…
>>
>>
>>
>>
>>
>>
>>
>> Thanks for the hint!
>>
>>
>>
>>
>>
>> Best regards,
>>
>>
>>
>> Stefan
>>
>>
>>
>> Von: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org] Im Auftrag von
>> Weigel, Stefan
>> Gesendet: Freitag, 7. Oktober 2011 15:31
>>
>> An: 'FreeSWITCH Users Help'
>> Betreff: Re: [Freeswitch-users] Desktop phone - answer a ringing call via
>> API call
>>
>>
>>
>> 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"/>
>>
>>
>>
>> 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
>>
>> >
>>
>> >
>>
>> >
>>
>> >
>>
>>
>>
>> FreeSWITCH-users mailing list
>> 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
>>
>
>
>
> FreeSWITCH-users mailing list
> 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
>
>



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900


FreeSWITCH-users mailing list
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



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