[Freeswitch-users] call pickup/ DTMF / routing

Sam u2nsam at gmail.com
Wed Dec 15 08:57:11 MSK 2010


Hello folks,

###
call pickup

I am trying call pickup for incoming calls by intercept function, its not
working , am i missing something ?


<extension name="group-intercept">
                <condition field="destination_number" expression="^08$">
     <action application="answer"/>
         <action application="set" data="intercept_unbridged_only=true"/>

         <action application="intercept"
data="${hash(select/${domain_name}-last_dial_ext/${callgroup})}"/>
     <action application="sleep" data="2000"/>
                </condition>
  </extension>




###
collecting DTMF digits

Is there any method to collect digits by a variable clause ?

Suppose i have a ivr playing and user inputs digits , i want to collect the
dtmf digits and send it to a different application where that digits will be
used for routing purpose.

Any ideas !





###
routing via hangup_cause
was trying to create a routing rule to to route calls by accounting to the
hangup causes,

I have written below syntax but it fails to give the cause code to the
varriable for routing.

<extension name="refer">
               <condition field="destination_number" expression="^1234$">


       <action application="bridge" data="sofia/external/1234 at X.X.X.X"/>
       <action application="set" data="hangup_after_bridge=false"/>
       <action application="set" data="continue_on_fail=true"/>
       <action application="log" data="1 B-leg hangup cause:
${bridge_hangup_cause}"/>
       <action application="transfer" data="${bridge_hangup_cause} XML
conbridge"/>

               </condition>


   </extension>

       <extension name="no user">
               <condition field="destination_number"
expression="^(NO_USER_RESPONSE)$">
               <action application="bridge"
data="sofia/external/4567 at X.X.X.X"/>

               </condition>
       </extension>


here the ${bridge_hangup_cause} is not getting executed. Am I doing it right

or is there any other way to do it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101215/36113565/attachment.html 


More information about the FreeSWITCH-users mailing list