<div dir="ltr">Hello,<br><br>I'ved created the following dialplan (fs v1.2.14) :<br><br><context name="bridging_capture"><br> <extension name="beidgin"><br>
<condition field="destination_number" expression="(^.*$)" ><br> <action application="set" data="hangup_after_bridge=<div>false" /><br> <action application="digit_action_set_realm" data="bridging_capture" /><br>
<action application="set" data="bridge_pre_execute_bleg_app=bind_digit_action"/><br> <action application="set" data="bridge_pre_execute_bleg_data=bridging_capture"/><br>
<!--action application="bind_digit_action" data="bridging_capture,200,exec:hangup,self,peer" /--><br> <action application="bind_digit_action" data="bridging_capture,~200\*[0-9]{3,10},exec:execute_extension,digits,self,peer"/><br>
<action application="bridge" data="user/2002" /><br> <!--action application="transfer" data="digits" /--><br> </condition><br> </extension><br>
<extension name="digits"><br> <!--condition field="destination_number" expression="^200\*([0-9]{3,10})$"--><br> <condition field="destination_number" expression="^.*$"><br>
<action application="hangup" /><br> </condition><br> </extension><br> </context><br><br><br></div>bind_digit_action constantly reporting <br>Syntax Error, USAGE <realm>,<digits|~regex>,<<div>
string>[,<value>][,<dtmf target leg>][,<event target leg>]<br>
<br><br></div>The original aim of the program is the capture the numbers
after 200*, and bridge leg-a to the new number, but first disconnecting
current leg-b.<br>When using execute_extension with <br><pre>"exec_after_bridge_app=execute_extension<br>
"exec_after_bridge_arg=digits ${bridging_capture}"</pre><div>It makes leg-b constantly ring after the call hangup. So does the transfer action that is commented out.<br><br></div><div>So what am I doing wrong here ?<br>
</div><div><br>Thanks,<br><br></div>Ido<br></div>