Hello folks,
<br><br>###<br><h1 id="post-title" style="margin: 0.25em 0pt 0.8em;">call pickup</h1><br><br>I am trying call pickup for incoming calls by intercept function, its not working , am i missing something ?
<br><br><br><extension name="group-intercept">
<br> <condition field="destination_number" expression="^08$">
<br> <action application="answer"/>
<br> <action application="set" data="intercept_unbridged_only=true"/>
<br>
<br> <action application="intercept" data="${hash(select/${domain_name}-last_dial_ext/${callgroup})}"/>
<br> <action application="sleep" data="2000"/>
<br> </condition>
<br> </extension>
<br><br><br><br><br>### <br><h1 id="post-title" style="margin: 0.25em 0pt 0.8em;">collecting DTMF digits
</h1><br><br>Is there any method to collect digits by a variable clause ?
<br><br>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.
<br><br>Any ideas !
<br><br><br><br><br><br>### <br><h1 id="post-title" style="margin: 0.25em 0pt 0.8em;">routing via hangup_cause</h1><br>was trying to create a routing rule to to route calls by accounting to the
<br>hangup causes,
<br><br>I have written below syntax but it fails to give the cause code to the
<br>varriable for routing.
<br><br><extension name="refer">
<br> <condition field="destination_number" expression="^1234$">
<br><br><br> <action application="bridge" data="sofia/external/1234@X.X.X.X"/>
<br> <action application="set" data="hangup_after_bridge=false"/>
<br> <action application="set" data="continue_on_fail=true"/>
<br> <action application="log" data="1 B-leg hangup cause:
<br>${bridge_hangup_cause}"/>
<br> <action application="transfer" data="${bridge_hangup_cause} XML
<br>conbridge"/>
<br><br> </condition>
<br><br><br> </extension>
<br><br> <extension name="no user">
<br> <condition field="destination_number" expression="^(NO_USER_RESPONSE)$">
<br> <action application="bridge" data="sofia/external/4567@X.X.X.X"/>
<br><br> </condition>
<br> </extension>
<br><br><br>here the ${bridge_hangup_cause} is not getting executed. Am I doing it right
<br>or is there any other way to do it.