bigbluebutton-Github/bigbluebutton-web/grails-app/conf/spring/resources.xml
Richard Alam 90d1d82098 - enable AgiService to be called from Asterisk in order to have dynamic voice conferencing
- need to add this line to /etc/asterisk/extension.conf
  exten => 1300,1,Agi(agi://192.168.0.100/meetme.groovy)
  



git-svn-id: http://bigbluebutton.googlecode.com/svn/trunk@1367 af16638f-c34d-0410-8cfa-b39d5352b314
2009-05-03 20:06:34 +00:00

48 lines
1.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
<bean class="org.asteriskjava.fastagi.AgiServerThread"
init-method="startup" destroy-method="shutdown">
<property name="agiServer" ref="agiServer"/>
</bean>
<bean id="agiServer" class="org.asteriskjava.fastagi.DefaultAgiServer">
<property name="bindPort" value="4573"/>
<property name="mappingStrategy" ref="mappingStrategy" />
</bean>
<!--
<bean class="org.bigbluebutton.pbx.asterisk.ConferenceAttendanceRecorder"
init-method="startup" destroy-method="shutdown">
<property name="asteriskServer" ref="asteriskServer"/>
<property name="dataSource" ref="dataSource"/>
</bean>
<bean class="org.bigbluebutton.pbx.PbxLive"
init-method="startup" destroy-method="shutdown">
<property name="asteriskServer" ref="asteriskServer"/>
</bean>
-->
<bean id="asteriskServer" class="org.asteriskjava.live.DefaultAsteriskServer">
<constructor-arg index="0" value="${asterisk.host}"/>
<constructor-arg index="1" value="${ami.user}"/>
<constructor-arg index="2" value="${ami.password}"/>
</bean>
<bean id="mappingStrategy" class="org.asteriskjava.fastagi.SimpleMappingStrategy">
<property name="mappings">
<map>
<entry key="meetme.groovy" value-ref="asteriskAgi" />
</map>
</property>
</bean>
<bean id="asteriskAgi" class="org.bigbluebutton.pbx.asterisk.AsteriskAgi" />
</beans>