This seems to be a bug. I opened a jira ticket and are negotiating with freeswitch support to get it fixed this week.

Ticket# FS-5941
http://jira.freeswitch.org/browse/FS-5941

This is being discussed in another thread in about 5 days ago.

Regards,
Ali Pey



On Fri, Nov 8, 2013 at 3:57 PM, Simon Ditner <spditner+freeswitch@gmail.com> wrote:
I am trying to use outbound socket to set up a conference, unfortunately I can not get my bind_digit_action calls to work in-conference.

My setup is pretty boiler-plate:

autoload_configs/conference.conf.xml

<configuration name="conference.conf" description="Audio Conference">
  ...
  <profiles>
    <profile name="simonconf">
      <param name="rate" value="8000"/>
      <param name="interval" value="20"/>
      <param name="energy-level" value="300"/>
      <param name="caller-controls" value="none"/>
    </profile>
   </profiles>
</configuration>

dialplan/default.xml

<include>
  <context name="default>
    <extension name="simon1">
      <condition field="destination_number" expression="^800$">
        <action application="bind_digit_action" data="random_context,*3,exec:playback,ivr/ivr-welcome_to_freeswitch.wav" />
        <action application="digit_action_set_realm" data="random_context"/>
        <action application="answer"/>
        <action application="conference" data="random_conference@simonconf"/>
      </condition>
    </extension>

    <extension name="simon2">
      <condition field="destination_number" expression="^900$">
        <action application="bind_digit_action" data="random_context,*3,exec:playback,ivr/ivr-welcome_to_freeswitch.wav" />
        <action application="digit_action_set_realm" data="random_context"/>
        <action application="socket" data="127.0.0.1:8888 async full"/>
      </condition>
    </extension>
  </context>
</include>

Listening on port 8888, I have a server which issues:

connect

sendmsg
call-command: execute
execute-app-name: answer

sendmsg
call-command: execute
execute-app-name: conference
execute-app-arg: random_conference@simonconf
event-lock: true


Calling into simon1, the *3 will work. Calling in to simon2, *3 will not work.

If I do not join the user into the conference, *3 works in both setups.

Is there any particular reason that *3 would not work in the simon2 setup?

Thanks,
spd

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org