[Freeswitch-users] Auto-Answer based on Call-Info from originator

Ali Pey alipey at gmail.com
Wed Apr 2 05:55:55 MSD 2014


Hi Peter,

Are you able to change your sip header to X-Call-Info? If you X- prefix it,
freeswitch will likely pass it through.


Regards,
Ali Pey


On Tue, Apr 1, 2014 at 8:40 PM, Peter Hillier <peterhillier at yahoo.com>wrote:

> I have a specific call scenario where I want to transfer a call and have
> the destination (REFER-TO) end answer automatically. Basically I own both
> devices and I am moving the call from my mobile VoIP client to my SIP
> deskphone. I want it to be seamless with no ringback or alerting introduced
> (hence the reason I am looking at auto answer).
>
> My SIP deskphone supports auto-answer when the Call-Info header indicates "
> answer-after=0". This header is specified in the REFER from the
> originating device (mobile VoIP client). Freeswitch does not pass this
> header through to the destination device.
>
> Is there any specific setting that I can do to pass this header through? I
> know that I can change the dialplan using the following:
>
> <action application="export" data="sip_auto_answer=true"/>
>
> But this triggers all calls to the destination to be auto-answered. I only
> want some of the calls to be answered (hence to reason I want the
> originator to specify this header).
>
> Regards,
> Peter
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=ae05794a-9272-44e1-9266-7f0514a348ab&cm_destination=http://www.freeswitchsolutions.com>
> freeswitchsolutions.com<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=66ba6a53-0804-4460-9b9c-a184b22acb0d&cm_destination=http://freeswitchsolutions.com>
>
> 
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=41bdf342-4f91-473b-a401-734229ceb224&cm_destination=>
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=4a28a439-b3b9-4884-9e65-065ecf1dcc08&cm_destination=>
>
> Official FreeSWITCH Sites
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=231e990b-f92b-45b4-b17f-f33c3d55b755&cm_destination=http://www.freeswitch.org>
> http://www.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=c488f5c9-b803-4ca6-8482-b950cb2cfe4c&cm_destination=http://www.freeswitch.org>
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=dcf1915d-9558-4448-80b8-50cea1b70b63&cm_destination=http://wiki.freeswitch.org>
> http://wiki.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=b96a2e93-2dd7-4316-80aa-d62cc74c700d&cm_destination=http://wiki.freeswitch.org>
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=18b3dd17-a8f3-46ef-808e-68c0361fce2f&cm_destination=http://www.cluecon.com>
> http://www.cluecon.com<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=4b4742fd-3d86-48ba-ac5c-5bf73bd55c53&cm_destination=http://www.cluecon.com>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists. <FreeSWITCH-users at lists.freeswitch.org>
> freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=2714bf2d-bc8c-44a4-bbd0-b2dfd13ebcd6&cm_destination=http://freeswitch.org>
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=acaea446-828e-4fd9-8648-55a6102944cc&cm_destination=http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> http://lists.freeswitch.org/<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=23fb21c4-344e-4793-8f5b-8c6a367608d1&cm_destination=http://lists.freeswitch.org/>
> mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=b5b9f5ee-fd78-480a-b960-12e4fe000625&cm_destination=http://lists.freeswitch.org/mailman/options/freeswitch-users>
> freeswitch.org/mailman/<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=aa62acd7-4f13-4614-964b-2bc241966292&cm_destination=http://freeswitch.org/mailman/>
> options/freeswitch-users
> <https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=9911e35d-97cf-422e-b25d-c176d216f4f0&cm_destination=http://www.freeswitch.org>
> http://www.freeswitch.org<https://contactmonkey.com/api/tracker?cm_session=1db19490-7c3b-4a58-9f41-ed450b159cf1&cm_type=link&cm_link=46f8beff-f879-4d55-b226-6e914c6598db&cm_destination=http://www.freeswitch.org>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140401/07ca6df9/attachment-0001.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list