Either there is something wrong in the way bind_digit_action works, either i'm missing something..
Would be gratefull is somebody can have a look at the issue hereunder.
3/ Then if i test the script :
Pressing the "*" key on the caller leg, called uuid is display =>
TEST OK (log hereunder)
freeswitch@debian> 2013-06-02 22:43:59.414932 [DEBUG] switch_rtp.c:4908 RTP RECV DTMF *:800
2013-06-02 22:43:59.414932 [DEBUG] mod_dptools.c:186 sofia/external5090/
sip:1003@89.88.82.75:52810 Digit match binding [exec:execute_extension][debug_bda]
2013-06-02 22:43:59.414932 [DEBUG] switch_core_session.c:1141 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:43:59.434933 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:43:59.554961 [DEBUG] switch_core_session.c:1141 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:43:59.574934 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:43:59.694963 [DEBUG] switch_ivr.c:612 sofia/external5090/
1001@mydomain.no-ip.org Command Execute playback(local_stream://moh)
EXECUTE sofia/external5090/
1001@mydomain.no-ip.org playback(local_stream://moh)
2013-06-02 22:43:59.694963 [DEBUG] switch_ivr.c:612 sofia/external5090/
sip:1003@89.88.82.75:52810 Command Execute execute_extension(debug_bda)
EXECUTE sofia/external5090/
sip:1003@89.88.82.75:52810 execute_extension(debug_bda)
2013-06-02 22:43:59.694963 [DEBUG] mod_local_stream.c:479 Opening Stream [moh/8000] 8000hz
2013-06-02 22:43:59.694963 [DEBUG] switch_ivr_play_say.c:1308 Codec Activated L16@8000hz 1 channels 20ms
2013-06-02 22:43:59.694963 [INFO] mod_dialplan_xml.c:558 Processing 1001 <1001>->debug_bda in context default
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->unloop] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->Local_Extension] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (FAIL) [Local_Extension] destination_number(debug_bda) =~ /^(1003)$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->debug_bda] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (PASS) [debug_bda] destination_number(debug_bda) =~ /^debug_bda/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Action log(INFO debug_bind_digit_action is called from uuid : ${uuid} !)
2013-06-02 22:43:59.694963 [NOTICE] switch_core_session.c:2838 Execute log(INFO debug_bind_digit_action is called from uuid : ${uuid} !)
EXECUTE sofia/external5090/
sip:1003@89.88.82.75:52810 log(INFO debug_bind_digit_action is called from uuid : 07803d02-cbc5-11e2-b750-85c636846b34 !)
2013-06-02 22:43:59.694963 [INFO] mod_dptools.c:1539 debug_bind_digit_action is called from uuid : 07803d02-cbc5-11e2-b750-85c636846b34 !
2013-06-02 22:43:59.714996 [DEBUG] switch_ivr_play_say.c:1694 done playing file local_stream://moh
2013-06-02 22:43:59.714996 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:43:59.714996 [DEBUG] switch_ivr_bridge.c:349 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:43:59.714996 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:43:59.714996 [DEBUG] switch_ivr_bridge.c:349 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
Pressing the "*" key on the called leg,
called uuid is display =>
TEST FAILED (log hereunder)
freeswitch@debian> 2013-06-02 22:44:19.754933 [DEBUG] switch_rtp.c:4908 RTP RECV DTMF *:1280
2013-06-02 22:44:19.754933 [DEBUG] switch_channel.c:419 RECV DTMF *:1280
2013-06-02 22:44:19.754933 [DEBUG] mod_dptools.c:186 sofia/external5090/
sip:1003@89.88.82.75:52810 Digit match binding [exec:execute_extension][debug_bda]
2013-06-02 22:44:19.754933 [DEBUG] switch_ivr_bridge.c:419 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:44:19.754933 [DEBUG] switch_core_session.c:1141 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:44:19.774938 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:44:19.894950 [DEBUG] switch_core_session.c:1141 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:44:19.914960 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:44:20.034916 [DEBUG] switch_ivr.c:612 sofia/external5090/
1001@mydomain.no-ip.org Command Execute playback(local_stream://moh)
EXECUTE sofia/external5090/
1001@mydomain.no-ip.org playback(local_stream://moh)
2013-06-02 22:44:20.034916 [DEBUG] switch_ivr.c:612 sofia/external5090/
sip:1003@89.88.82.75:52810 Command Execute execute_extension(debug_bda)
EXECUTE sofia/external5090/
sip:1003@89.88.82.75:52810 execute_extension(debug_bda)
2013-06-02 22:44:20.034916 [DEBUG] mod_local_stream.c:479 Opening Stream [moh/8000] 8000hz
2013-06-02 22:44:20.034916 [DEBUG] switch_ivr_play_say.c:1308 Codec Activated L16@8000hz 1 channels 20ms
2013-06-02 22:44:20.034916 [INFO] mod_dialplan_xml.c:558 Processing 1001 <1001>->debug_bda in context default
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->unloop] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->Local_Extension] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (FAIL) [Local_Extension] destination_number(debug_bda) =~ /^(1003)$/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 parsing [default->debug_bda] continue=false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Regex (PASS) [debug_bda] destination_number(debug_bda) =~ /^debug_bda/ break=on-false
Dialplan: sofia/external5090/
sip:1003@89.88.82.75:52810 Action log(INFO debug_bind_digit_action is called from uuid : ${uuid} !)
2013-06-02 22:44:20.034916 [NOTICE] switch_core_session.c:2838 Execute log(INFO debug_bind_digit_action is called from uuid : ${uuid} !)
EXECUTE sofia/external5090/
sip:1003@89.88.82.75:52810 log(INFO debug_bind_digit_action is called from uuid : 07803d02-cbc5-11e2-b750-85c636846b34 !)
2013-06-02 22:44:20.034916 [INFO] mod_dptools.c:1539 debug_bind_digit_action is called from uuid : 07803d02-cbc5-11e2-b750-85c636846b34 !
2013-06-02 22:44:20.054921 [DEBUG] switch_ivr_play_say.c:1694 done playing file local_stream://moh
2013-06-02 22:44:20.054921 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
2013-06-02 22:44:20.054921 [DEBUG] switch_ivr_bridge.c:349 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:44:20.054921 [DEBUG] switch_core_session.c:861 Send signal sofia/external5090/
sip:1003@89.88.82.75:52810 [BREAK]
2013-06-02 22:44:20.054921 [DEBUG] switch_ivr_bridge.c:349 Send signal sofia/external5090/
1001@mydomain.no-ip.org [BREAK]
Thanks for your help.