Changes between Version 1 and Version 2 of freeswitch-mexcla-admin


Ignore:
Timestamp:
Sep 1, 2013, 3:23:37 PM (6 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • freeswitch-mexcla-admin

    v1 v2  
    55It is a python script that is available via git://git.mayfirst.org/mfpl/mexcla
    66
    7 It runs as a daemon on 127.0.0.1, listening on port 8888. It's controlled by runit and runs as the mexcla user.
     7It runs as a daemon on 127.0.0.1, listens on ports 50,000 - 50,999. It's controlled by runit and runs as the mexcla user.
    88
    9 It depends on the python-twisted package and the eventsocket python freeswitch library (http://github.com/fiorix/eventsocket).
     9It depends on the python-twisted package (available in Debian) and the eventsocket python freeswitch library (http://github.com/fiorix/eventsocket).
    1010
    1111On paul, the eventsocket python library is checked out via git in /usr/local/share/eventsocket and mexcla is checked out via git in /usr/local/share/mexcla
     
    5959       </condition>
    6060     </extension>
     61
     62
    6163+    <extension name="Mexcla Conference">
    62 +      <condition field="destination_number" expression="^9999$">
    63 +        <action application="socket" data="127.0.0.1:8888 async full"/>
     64+    <condition field="destination_number" expression="^9999$">
     65+                  <action application="answer"/>
     66+       <action application="read" data="1 3 /opt/mfpl-freeswitch-sounds/pick-conference-room.wav conf 10000 #"/>
     67+       <action application="set" data="port=${expr ${conf}+50000}"/>
     68+       <action application="socket" data="127.0.0.1:${port} async full"/>
    6469+      </condition>
    6570+   </extension>