亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

SIP Provider Examples

系統(tǒng) 2588 0

Contents

[ hide ]

Example Configuration

The following is a list of phone providers that have been successfully tested with the FreeSWITCH software.


Please note that you should stick with adding these phone providers under the {FreeSWITCH installation}/conf/directory/default location. This means creating an XML file per specified phone provider under the conf/directory/default/ directory. Alternatively, you can also add the provider of your choice under the {FreeSWITCH installation}/conf/sip_profiles directory. The recommendation is to stick with using the "conf/directory/default" location. When in doubt copy the examples found in the source code under freeswitch/conf/directory/default/ . The sample file is named "provider .com.xml ". NOTE: the file is named "example .com.xml " on newer releases of FreeSWITCH.


Provider Configuration Pages

When adding a provider to this list within the wiki please observe these guidelines:

  • include a generic configuration
  • no marketing information
  • keep them alphabetically listed
A through E F through H I through P Q through Z

Note: If you are looking for an example with different destinations for the registration proxy and outbound proxy, see the example configuration for Peopleline.

Gateway Overview

As an example we will add a trunk to vitelity.com. PLEASE NOTE THAT THIS IS AN EXAMPLE. REPLACE WITH YOUR OWN CONFIGS FOR YOUR PROVIDER (see table below).

Vitelity.com uses different proxies for inbound and outbound calls, so we need to add two gateways (they can be in the same file). One for outbound and one for inbound. Many providers (Vitelity included) allow you to make outbound calls via the registration proxy for inbound calls and so you really only *need* to setup one gateway. Before we start that we'll need to know a couple different pieces of info:

  • username
  • password (also called secret)
  • outbound server
  • inbound server
    sudo vim /usr/local/freeswitch/conf/sip_profiles/external/vitelity.xml

  
    <include>
  <gateway name="vitelity-outbound">
    <param name="username" value="****yourusername"/>
    <param name="password" value="****yourpassword"/>
    <param name="realm" value="vitel-outbound"/>
    <param name="proxy" value="****outboundurl"/>
    <param name="register" value="false"/>
  </gateway>
  <gateway name="vitelity-inbound">
    <param name="username" value="****yourusername"/>
    <param name="password" value="****yourpassword"/>
    <param name="realm" value="vitel-inbound"/>
    <param name="extension" value="1000"/>
    <param name="proxy" value="****inboundurl"/>
    <param name="register-proxy" value="****inboundurl"/>
  </gateway>
</include>

  

Keeping Connections Alive

You can use the following parameter in your configuration to force FreeSWITCH to re-register with your provider at certain intervals. This may be helpful for NAT issues by keeping the connection state open through your internal firewall.

    <param name="expire-seconds" value="60"/>

  

You can also set FreeSWITCH to ping your gateway at intervals.

    <param name="ping" value="30" /> 

  

See Also

<!-- NewPP limit report Preprocessor node count: 33/1000000 Post-expand include size: 854/2097152 bytes Template argument size: 699/2097152 bytes Expensive parser function count: 0/100 --><!-- Saved in parser cache with key wiki:pcache:idhash:1952-0!1!0!!en!2!edit=0 and timestamp 20101127015348 -->

SIP Provider Examples


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號(hào)聯(lián)系: 360901061

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長(zhǎng)非常感激您!手機(jī)微信長(zhǎng)按不能支付解決辦法:請(qǐng)將微信支付二維碼保存到相冊(cè),切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對(duì)您有幫助就好】

您的支持是博主寫作最大的動(dòng)力,如果您喜歡我的文章,感覺我的文章對(duì)您有幫助,請(qǐng)用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長(zhǎng)會(huì)非常 感謝您的哦!!!

發(fā)表我的評(píng)論
最新評(píng)論 總共0條評(píng)論
主站蜘蛛池模板: 国产精品视频一区二区三区 | 全免费a级毛片免费看不卡 全免费a级毛片免费看视频免 | 欧美成人七十二式性视频教程 | 成人黄色网 | 中文精品久久久久国产网址 | 99国产福利视频区 | 国产色综合久久无码有码 | 日韩欧美亚州 | 天天操天天摸天天舔 | 今天的恋爱未删减在线观看 | 欧美做爰xxxⅹ性欧 欧美做爰xxxⅹ在线视频hd | 国产福利影院在线观看 | 亚洲码在线 | 亚洲欧美日韩高清一区二区三区 | 欧美成人精品第一区二区三区 | 日本夜爽爽一区二区三区 | 91在线网| 久久久999久久久精品 | 草久久| 久久天天躁狠狠躁夜夜爽蜜月 | 免费一级毛片不卡在线播放 | 中文字幕亚洲综合精品一区 | 欧美成人香蕉网在线观看 | 国产一级特黄特色aa毛片 | 国内精品免费网站牛牛 | 日本精品区| 18p爽视频在线观看免费 | 欧美成人香蕉在线观看 | 在线观看精品国语偷拍 | 欧美高清在线精品一区 | 精品久久久久久久久中文字幕 | 80s成年女人毛片免费观看观看 | 亚洲成人18 | 青青青爽线在线视频观看 | 亚洲已满18点击进入在线观看 | 久久亚洲日本不卡一区二区 | 日本中文字幕不卡免费视频 | 老司机久久精品视频 | 日韩国产欧美成人一区二区影院 | 日本不卡在线观看免费v | 久久桃花网 |