ittchmh / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Create and easy to add a multicast dial-plan for paging etc #473

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create and easy to add a multicast dial-plan.

here's an example of a dial-plan to use multicast for paging all phones, 
multicast is becoming more and more popular in later firmware for sip phones 
and this is a simple way to add a page all or page 1:1 extension.

In the example below, if you call extension 800, it will page all the phones 
configured with the same extension mapped to multicast 224.168.168.168 on port 
34560

On an CISCO SPA50x device the group paging script found on the advance > phone 
page will look similar to this

############################################################
pggrp=224.168.168.168:34560;name=All;num=800;listen=yes;
############################################################

You would need to add a route to Linux routing table as well, here's an example:

###############################################################
ip route add 224.0.0.0/4 dev eth0 src x.x.x.x 

(x.x.x.x would be your FreeSWITCH local IP address on either a VLAN or eth0, 
whichever interface FreeSWITCH is bounded to)
###############################################################

###################################################################
<extension name="rtp_multicast_page">
      <condition field="destination_number" expression="^pagegroup$|^800$">
    <action application="answer"/>
    <action application="esf_page_group" data="224.168.168.168 34560"/>
      </condition>
    </extension>
###################################################################

Original issue reported on code.google.com by gvtestv...@gmail.com on 6 Oct 2013 at 5:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Actually i resolved this by adding the esf_page_group under the dial plan 
manager... Never thought to look there first.

Original comment by gvtestv...@gmail.com on 6 Oct 2013 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This page group is not multi-tenant friendly it will for example call all SPA 
phones in all tenants. perhaps 800 could be set to 800@${domain_name}

Original comment by markjcrane@gmail.com on 12 Apr 2014 at 7:01