57 lines
2.1 KiB
XML
57 lines
2.1 KiB
XML
|
<configuration name="amqp.conf" description="mod_amqp">
|
||
|
<producers>
|
||
|
<profile name="default">
|
||
|
<connections>
|
||
|
<connection name="primary">
|
||
|
<param name="hostname" value="localhost"/>
|
||
|
<param name="virtualhost" value="/"/>
|
||
|
<param name="username" value="guest"/>
|
||
|
<param name="password" value="guest"/>
|
||
|
<param name="port" value="5673"/>
|
||
|
<param name="heartbeat" value="0"/>
|
||
|
</connection>
|
||
|
<connection name="secondary">
|
||
|
<param name="hostname" value="localhost"/>
|
||
|
<param name="virtualhost" value="/"/>
|
||
|
<param name="username" value="guest"/>
|
||
|
<param name="password" value="guest"/>
|
||
|
<param name="port" value="5672"/>
|
||
|
<param name="heartbeat" value="0"/>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<params>
|
||
|
<param name="exchange" value="TAP.Events"/>
|
||
|
<param name="exchange_type" value="topic"/>
|
||
|
<param name="circuit_breaker_ms" value="10000"/>
|
||
|
<param name="reconnect_interval_ms" value="1000"/>
|
||
|
<param name="send_queue_size" value="5000"/>
|
||
|
|
||
|
<!-- The routing key is made from the format string, using the header values in the event specified in the format_fields.-->
|
||
|
<!-- Fields that are prefixed with a # are treated as literals rather than doing a header lookup -->
|
||
|
<param name="format_fields" value="#FreeSWITCH,FreeSWITCH-Hostname,Event-Name,Event-Subclass,Unique-ID"/>
|
||
|
|
||
|
<!-- <param name="eventFilter" value="SWITCH_EVENT_ALL"/> -->
|
||
|
<param name="event_filter" value="SWITCH_EVENT_CHANNEL_CREATE,SWITCH_EVENT_CHANNEL_DESTROY,SWITCH_EVENT_HEARTBEAT,SWITCH_EVENT_DTMF"/>
|
||
|
</params>
|
||
|
</profile>
|
||
|
</producers>
|
||
|
<commands>
|
||
|
<profile name="default">
|
||
|
<connections>
|
||
|
<connection name="primary">
|
||
|
<param name="hostname" value="localhost"/>
|
||
|
<param name="virtualhost" value="/"/>
|
||
|
<param name="username" value="guest"/>
|
||
|
<param name="password" value="guest"/>
|
||
|
<param name="port" value="5672"/>
|
||
|
<param name="heartbeat" value="0"/>
|
||
|
</connection>
|
||
|
</connections>
|
||
|
<params>
|
||
|
<param name="eventExchange" value="TAP.Events"/>
|
||
|
<param name="eventExchangetype" value="topic"/>
|
||
|
</params>
|
||
|
</profile>
|
||
|
</commands>
|
||
|
</configuration>
|