What did you do?

 

 

Ilan Perez

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roberto
Hernandez
Sent: 05 August 2008 08:53
To: [email protected]
Subject: Re: [Freeswitch-users] inbound calls

 

Figured it out.  

 

Thanks,

Roberto

 

  _____  

From: Roberto Hernandez [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 04, 2008 11:01 AM
To: '[email protected]'
Subject: inbound calls

 

I've configured one X-Lite softphone (id=1000) and made my first few PSTN
outbound calls with no problem.  

Inbound is a bit of a mystery.  How do I configure PSTN inbound calls to
terminated on my softphone?   

 

I found the following archived email, would someone break it down so new
users can understand?  Thanks in advance.

 

In public.xml, you want something like this:

 

     <extension name="test_did">

       <condition field="destination_number" expression="^(4153084258)$">

         <action application="transfer" data="$1 XML default"/>

       </condition>

     </extension>

 

and then in default.xml have something like this in the default context:

 

<extension name="Local_Extension">

       <condition field="destination_number" expression="^(4153084258)$"
continue="on-true">

         <action application="set" data="dialed_ext=$1"/>

       </condition>

       <condition field="destination_number"
expression="^${caller_id_number}$">

         <action application="set"
data="voicemail_authorized=${sip_authorized}"/>

         <action application="answer"/>

         <action application="sleep" data="1000"/>

         <action application="voicemail" data="check default $${domain}
${dialed_ ext}"/>

         <anti-action application="ring_ready"/>

         <anti-action application="set" data="call_timeout=10"/>

         <anti-action application="set" data="hangup_after_bridge=true"/>

         <anti-action application="set" data="continue_on_fail=true"/>

         <anti-action application="bridge"
data="USER/[EMAIL PROTECTED]"/>

         <anti-action application="answer"/>

         <anti-action application="sleep" data="1000"/>

         <anti-action application="voicemail" data="default $${domain}
${dialed_e xt}"/>

       </condition>

     </extension>

 

Thanks,

Roberto

_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to