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"/>
</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.