[Freeswitch-users] Trying to determine why bind_digit_action does not work in a conference created by outbound socket

Simon Ditner spditner+freeswitch at gmail.com
Fri Nov 8 23:57:37 MSK 2013


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131108/8f9de3e5/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list