FreeSWITCH 外呼/呼入路由和字冠配置

外呼业务流程:软电话 → callcenter → gateway → 迅时语音网关 → 联通运营商→ 用户手机

呼入业务流程:用户手机→ 联通运营商 → 迅时语音网关 → gateway  →  callcenter → IVR|分机号|技能组 → 软电话 

callcenter 的 internal.xml 配置

cat > /usr/local/freeswitch/conf/sip_profiles/internal.xml << EOF


  
    
      
      
 
      
      
 
      
      
 
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
      
      
 
    
    
      
      
    
  

EOF

callcenter 的external.xml配置

cat /usr/local/freeswitch/conf/sip_profiles/external.xml

  
  
  
    
    
  
 
  
    
  
 
  
    
  
 
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
 
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
 
  

gateway 的 internal.xml 配置

cat /usr/local/freeswitch/conf/sip_profiles/internal.xml

  
 
  
  
  
    
  
  
  
  
 
  
    
    
    
    
    
  
 
  
 
 
    
    
 
    
    
 
    
    
 
    
    
 
    
    
    
    
    
 
    
    
 
 
    
    
 
 
    
    
    
    
 
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
 
    
    
 
    
    
 
    
    
    
 
    
    
    
 
    
    
    
    
    
    
    
    
    
    
 
 
    
    
 
    
    
 
 
    
    
    
 
    
    
 
    
    
 
 
 
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
 
    
    
 
    
    
 
    
    
    
    
    
    
    
    
    
 
    
    
 
    
    
 
    
    
 
    
    
 
    
    
    
 
    
    
 
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
 
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
 
    
    
 
    
    
    
 
    
 
    
    
 
    
    
    
 
    
    
 
    
    
 
    
    
    
 
    
    
 
    
    
    
    
    
    
    
    
    
    
    
 
    
    
 
    
    
 
    
    
    
 
    
 
    
    
 
    
    
 
 
    
    
 
    
    
 
    
    
 
 
    
    
 
    
    
  

gateway 的 external.xml 配置

cat /usr/local/freeswitch/conf/sip_profiles/external.xml

  
  
  
    
    
  
 
  
    
  
 
  
    
  
 
  
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
 
    
    
    
    
    
     
    
    
    
    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
 
    
    
 
  

callcenter 对接 gateway 的SIP对接配置

cat > /usr/local/freeswitch/conf/sip_profiles/external/10_207_104_88_6080.xml << EOF

 

 
   
   
   
   
 

EOF

gateway 对接 迅时语音网关 的SIP对接配置

cat > /usr/local/freeswitch/conf/sip_profiles/external/100_117_38_100_5060.xml << EOF

 
   
   
   
   
 

EOF

callcenter 外呼对接 gateway网关路由配置

cat > /usr/local/freeswitch/conf/dialplan/default/10_207_104_88_6080.xml <
 
   
   
   
   
   
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
          
           
           
          
          
          
        
          
   
 

EOF

gateway网关 外呼对接 迅时语音网关配置

cat > /usr/local/freeswitch/conf/dialplan/default/100_117_38_100_5060.xml << EOF

 
   
   
       
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
        
 
        
     
     
   
 

EOF

呼入路由字冠配置

在callcenter配置呼入字冠路由

cat /usr/local/freeswitch/conf/dialplan/public/075536392007.xml

  
        
    
        
        
        
        
        
        
        
        
        
        
        
        
        
        
 
        
 
        
        
        
 
   
        
   
 
        
        
 
   
        
   
        
        
        
        
   
        
        
        
        
   
        
        
        
        
 
  
  

你可能感兴趣的:(android,servlet,java)