Brilliant - thanks. I may have to do a little "see also" in the places I was looking in the wiki

Alex,

 

What you are looking for is sip_auto_answer (http://wiki.freeswitch.org/wiki/Variable_sip_auto_answer) that tells the phone to auto-answer the call as long as your phone supports it and is configured properly.

 

If the variable doesn’t work but your phone supports it, then it is a matter of adding a SIP header the phone understand. The SIP header is added by prepending {sip_h_...}

 

On my Aastra phones, the SIP header is Call-Info so it should look like this:

 

{sip_h_Call-Info=;auto-answer=0}

 

Benoit Raymond

AMI Concept Inc.

Solutions VoIP Affaire / Création Web

Tel: (450) 553-1231

http://www.amiconcept.com

 

De : freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] De la part de Alex Lake
Envoyé : 15 mars 2013 09:31
À : FreeSWITCH Users Help
Objet : Re: [Freeswitch-users] Paging

 

OK, so some more research reveals this example:

   <extension name="rtp_multicast_page">
     <condition field="destination_number" expression="^pagegroup$|^7243">
       <action application="answer"/>
       <action application="esf_page_group"/>
     </condition>
   </extension>


Then there's a suggestion of using a loopback:

<action application="bridge" data="loopback/3456/YOUR_CONTEXT/XML"/>

 

<extension name="rtp_multicast_page">
 <condition field="destination_number" expression="^3456$">
  <action application="set" data="absolute_codec_string=PCMU at 20i"/>
  <action application="set" data="jitterbuffer_msec=500:1000:20"/>
  <action application="answer"/>
  <action application="esf_page_group" data="234.5.6.7 23458 30"/>
  </condition>
</extension>

This is beginning to be in the right direction for what I want.

What I'm trying to do here is really aimed at callback. The user hits a web button and then Freeswitch pages his phone and then places an outbound call.

"api originate user/0095302 02070601234 XML dp0095"

Does the trick, by calling 0095302 and then on answer calls 02070601234.

What I'm trying to do is to not require the user to lift the handset and it has been suggested that paging is the way to do it. It's not a very true use of multicast, but might it work?



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.2240 / Virus Database: 2641/5675 - Release Date: 03/14/13