<div dir="ltr"><div dir="ltr">Hi everyone,<div><br></div><div>I am trying to use the bind_digit_action on the b-leg , and as wiki suggested I am using execute_on_answer to assign the bind_digit on the b-leg. This works like charm in case of the normal simple bridge. But in case of the Ring-group like bridge when I bridge the multiple users at the same time, it does not get executed on the channel answer.</div><div><br></div><div>I see in the logs that in working case when b-leg answered , the execute_on_answer gets executed. But in ring group case it does not get executed at all.</div><div><br></div><div>Am I missing something here ? Like is there any other param needs to be set to use the execute_on_answer in the ring group like structure.</div><div><br></div><div>And if it is not possible, can you suggest me any other way to use bind_digit on b-leg from dialplan itself.<br clear="all"><div><br></div><div>Below is my dialplan for ring group.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><include></div><div><br></div><div>   <extension name="Ring_all"></div><div>      <condition field="destination_number" expression="3301"></div><div>      <action application="export" data="dialed_extension=$1"/></div><div>    </div><div><!-- Feature Code settings --></div><div>      <!-- bind_meta_app can have these args <key> [a|b|ab] [a|b|o|s] <app> --></div><div>        <action application="bind_digit_action" data="features,*1,exec:valet_park::my_lot auto in 8001 8999,both,self"/> </div><div>        <action application="export" data="nolocal:execute_on_answer_11=features,*1,exec:valet_park::my_lot auto in 8001 8999,both,self"/></div><div><br></div><div>        <action application="bind_digit_action" data="features,*2,exec:execute_extension,START_RECORDING XML features,both,self"/> </div><div>        <action application="export" data="nolocal:execute_on_answer_12=features,*2,exec:execute_extension,START_RECORDING XML features,both,self"/></div><div><br></div><div>        <action application="bind_digit_action" data="features,*3,exec:execute_extension,att_xfer XML features,both,self"/> </div><div>        <action application="export" data="nolocal:execute_on_answer_13=bind_digit_action features,*3,exec:execute_extension,att_xfer XML features,both,self"/></div><div><br></div><div>        <action application="bind_digit_action" data="features,*4,exec:execute_extension,blind_xfer XML features,both,self"/></div><div>        <action application="export" data="nolocal:execute_on_answer_14=bind_digit_action features,*4,exec:execute_extension,blind_xfer XML features,both,self"/></div><div>     </div><div>        <action application="bind_digit_action" data="features,*51,exec:execute_extension,START_RECORDING XML features,aleg,self"/></div><div>        <action application="export" data="nolocal:execute_on_answer_15=features,*51,exec:execute_extension,START_RECORDING XML features,aleg,self"/></div><div><br></div><div>        <action application="bind_digit_action" data="features,*52,exec:execute_extension,STOP_RECORDING XML features,aleg,self"/></div><div>        <action application="export" data="nolocal:execute_on_answer_16=features,*52,exec:execute_extension,STOP_RECORDING XML features,aleg,self"/></div><div>       </div><div><!-- FEature Code set --></div><div><br></div><div>                        </div><div><!-- Setting Variabls --></div><div>                        <action application="set" data="ringback=/home/jenish/moh.wav"/></div><div>                        <action application="set" data="transfer_ringback=/home/jenish.moh.wav"/></div><div>                        <action application="set" data="call_timeout=300"/>         </div><div>                        <action application="set" data="hangup_after_bridge=true"/></div><div>                        <action application="set" data="continue_on_fail=true"/></div><div>                        <action application="set" data="REC_TYPE=GROUP"/></div><div>                        <action application="set" data="REC_STATUS=Y"/></div><div>                        <action application="export" data="effective_caller_id_name=Department_group_call"/></div><div><br></div><div><br></div><div>                        <action application="record_session" data="/usr/local/freeswitch/recordings/1000/GROUP/${strftime(%Y-%m-%d-%H-%M-%S)}_from_${caller_id_number}_to_${destination_number}__${uuid}.wav"/></div><div>                        <action application="set" data="REC_PATH=/usr/local/freeswitch/recordings/1000/GROUP/${strftime(%Y-%m-%d-%H-%M-%S)}_from_${caller_id_number}_to_${destination_number}__${uuid}.wav"/></div><div><br></div><div>                        <action application="set" data="export_vars=call_direction,original_source,REC_PATH,REC_TYPE,REC_STATUS"/></div><div><br></div><div>                        <action application="bridge" data="[absolute_codec_string=^^:PCMA@8000h@20i@64000b]${sofia_contact(internal/1000101@${domain_name}},[absolute_codec_string=^^:PCMU@8000h@20i@64000b]${sofia_contact(internal/1000100@${domain_name}},[absolute_codec_string=^^:PCMA@8000h@20i@64000b:PCMU@8000h@20i@64000b]${sofia_contact(internal/1000102@${domain_name}},[absolute_codec_string=^^:PCMA@8000h@20i@64000b:PCMU@8000h@20i@64000b]${sofia_contact(internal/1000103@${domain_name}}"/><br></div><div><br></div><div>                        <action application="answer"/></div><div>                        <action application="sleep" data="1000"/></div><div>                        <action application="bridge" data="loopback/app=voicemail:default ${domain_name} ${dialed_extension}"/></div><div>      </condition></div><div>    </extension></div><div>                                              </div><div></include></div></div><div><br></div><div><br></div>-- <br><div dir="ltr" class="gmail-m_9219123925197117734gmail_signature"><div dir="ltr"><br><div>Thanks & Regards</div><div><br></div><div>Jenish Patel</div><div>+91 9033987576</div></div></div></div></div></div>