From ea911c0f4752ce78fdc8c78abdad9612b4542619 Mon Sep 17 00:00:00 2001
From: Richard Alam <ritzalam@gmail.com>
Date: Fri, 23 Jul 2010 14:16:24 -0400
Subject: [PATCH]  - changed conference pattern to 7{4} as it is what's
 dynamically generated by demo  - switch SIP ports in vars.xml:    - Internal
 to port 5090 from port 5060. 5060 is assigned to external sip profile      as
 bbb-voice only connects to 5060. Tried fixing bbb-voice but can't figure it
 out.    - Use 5090 instead of 5080 since 5080 is used by Red5.

---
 .../config/freeswitch/conf/dialplan/default.xml               | 2 +-
 bbb-voice-conference/config/freeswitch/conf/vars.xml          | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bbb-voice-conference/config/freeswitch/conf/dialplan/default.xml b/bbb-voice-conference/config/freeswitch/conf/dialplan/default.xml
index 8566a7ff86..e092cca838 100644
--- a/bbb-voice-conference/config/freeswitch/conf/dialplan/default.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/dialplan/default.xml
@@ -55,7 +55,7 @@
     <!-- BBB testing -->
 
     <extension name="bbb_conferences">
-      <condition field="destination_number" expression="^(8\d{4})$">
+      <condition field="destination_number" expression="^(7\d{4})$">
 	  <action application="answer"/>
 	  <action application="conference" data="$1@wideband"/>
 	  <!-- <action application="conference" data="$1@wideband"/> -->
diff --git a/bbb-voice-conference/config/freeswitch/conf/vars.xml b/bbb-voice-conference/config/freeswitch/conf/vars.xml
index 7ec4d0475c..02c0e45d91 100644
--- a/bbb-voice-conference/config/freeswitch/conf/vars.xml
+++ b/bbb-voice-conference/config/freeswitch/conf/vars.xml
@@ -227,14 +227,14 @@
 
   <!-- Internal SIP Profile -->
   <X-PRE-PROCESS cmd="set" data="internal_auth_calls=true"/>
-  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5060"/>
+  <X-PRE-PROCESS cmd="set" data="internal_sip_port=5090"/>
   <X-PRE-PROCESS cmd="set" data="internal_tls_port=5061"/>
   <X-PRE-PROCESS cmd="set" data="internal_ssl_enable=false"/>
   <X-PRE-PROCESS cmd="set" data="internal_ssl_dir=$${base_dir}/conf/ssl"/>
 
   <!-- External SIP Profile -->
   <X-PRE-PROCESS cmd="set" data="external_auth_calls=false"/>
-  <X-PRE-PROCESS cmd="set" data="external_sip_port=5080"/>
+  <X-PRE-PROCESS cmd="set" data="external_sip_port=5060"/>
   <X-PRE-PROCESS cmd="set" data="external_tls_port=5081"/>
   <X-PRE-PROCESS cmd="set" data="external_ssl_enable=false"/>
   <X-PRE-PROCESS cmd="set" data="external_ssl_dir=$${base_dir}/conf/ssl"/>
-- 
GitLab